System and method for cleaning noisy genetic data from target individuals using genetic data from genetically related individuals

ABSTRACT

A system and method for determining the genetic data for one or a small set of cells, or from fragmentary DNA, where a limited quantity of genetic data is available. Genetic data for the target individual is acquired and amplified using known methods, and poorly measured base pairs, missing alleles and missing regions are reconstructed using expected similarities between the target genome and the genome of genetically related subjects. In accordance with one embodiment of the invention, incomplete genetic data from an embryonic cell is reconstructed using the more complete genetic data from a larger sample of diploid cells from one or both parents, with or without genetic data from haploid cells from one or both parents, and/or genetic data taken from other related individuals. In accordance with another embodiment of the invention, incomplete genetic data from a fetus is acquired from fetal cells, or cell-free fetal DNA isolated from the mother&#39;s blood, and the incomplete genetic data is reconstructed using the more complete genetic data from a larger sample diploid cells from one or both parents, with or without genetic data from haploid cells from one or both parents, and/or genetic data taken from other related individuals. In one embodiment, the genetic data can be reconstructed for the purposes of making phenotypic predictions. In another embodiment, the genetic data can be used to detect for aneuploides and uniparental disomy.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application, under 35 U.S.C. §119(e) claims the benefit of the following U.S. Provisional Patent Applications: Ser. No. 60/739,882, filed Nov. 26, 2005; Ser. No. 60/742,305, filed Dec. 6, 2005; Ser. No. 60/754,396, filed Dec. 29, 2005; Ser. No. 60/774,976, filed Feb. 21, 2006; Ser. No. 60/789,506, filed Apr. 4, 2006; Ser. No. 60/817,741, filed Jun. 30, 2006; Ser. No. 11/496,982, filed Jul. 31, 2006; and Ser. No. 60/846,610, filed Sep. 22, 2006; the disclosures thereof are incorporated by reference herein in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates generally to the field of acquiring, manipulating and using genetic data for medically predictive purposes, and specifically to a system in which imperfectly measured genetic data is made more precise by using known genetic data of genetically related individuals, thereby allowing more effective identification of genetic irregularities that could result in various phenotypic outcomes.

2. Description of the Related Art

Current methods of prenatal diagnosis can alert physicians and parents to abnormalities in growing fetuses. Without prenatal diagnosis, one in 50 babies is born with serious physical or mental handicap, and as many as one in 30 will have some form of congenital malformation. Unfortunately, standard methods require invasive testing and carry a roughly 1 percent risk of miscarriage. These methods include amniocentesis, chorion villus biopsy and fetal blood sampling. Of these, amniocentesis is the most common procedure; in 2003, it was performed in approximately 3% of all pregnancies, though its frequency of use has been decreasing over the past decade and a half. A major drawback of prenatal diagnosis is that given the limited courses of action once an abnormality has been detected, it is only valuable and ethical to test for very serious defects. As result, prenatal diagnosis is typically only attempted in cases of high-risk pregnancies, where the elevated chance of a defect combined with the seriousness of the potential abnormality outweighs the risks. A need exists for a method of prenatal diagnosis that mitigates these risks.

It has recently been discovered that cell-free fetal DNA and intact fetal cells can enter maternal blood circulation. Consequently, analysis of these cells can allow early Non-Invasive Prenatal Genetic Diagnosis (NIPGD). A key challenge in using NIPGD is the task of identifying and extracting fetal cells or nucleic acids from the mother's blood. The fetal cell concentration in maternal blood depends on the stage of pregnancy and the condition of the fetus, but estimates range from one to forty fetal cells in every milliliter of maternal blood, or less than one fetal cell per 100,000 maternal nucleated cells. Current techniques are able to isolate small quantities of fetal cells from the mother's blood, although it is very difficult to enrich the fetal cells to purity in any quantity. The most effective technique in this context involves the use of monoclonal antibodies, but other techniques used to isolate fetal cells include density centrifugation, selective lysis of adult erythrocytes, and FACS. Fetal DNA isolation has been demonstrated using PCR amplification using primers with fetal-specific DNA sequences. Since only tens of molecules of each embryonic SNP are available through these techniques, the genotyping of the fetal tissue with high fidelity is not currently possible.

Much research has been done towards the use of pre-implantation genetic diagnosis (PGD) as an alternative to classical prenatal diagnosis of inherited disease. Most PGD today focuses on high-level chromosomal abnormalities such as aneuploidy and balanced translocations with the primary outcomes being successful implantation and a take-home baby. A need exists for a method for more extensive genotyping of embryos at the pre-implantation stage. The number of known disease associated genetic alleles is currently at 389 according to OMIM and steadily climbing. Consequently, it is becoming increasingly relevant to analyze multiple embryonic SNPs that are associated with disease phenotypes. A clear advantage of pre-implantation genetic diagnosis over prenatal diagnosis is that it avoids some of the ethical issues regarding possible choices of action once undesirable phenotypes have been detected.

Many techniques exist for isolating single cells. The FACS machine has a variety of applications; one important application is to discriminate between cells based on size, shape and overall DNA content. The FACS machine can be set to sort single cells into any desired container. Many different groups have used single cell DNA analysis for a number of applications, including prenatal genetic diagnosis, recombination studies, and analysis of chromosomal imbalances. Single-sperm genotyping has been used previously for forensic analysis of sperm samples (to decrease problems arising from mixed samples) and for single-cell recombination studies.

Isolation of single cells from human embryos, while highly technical, is now routine in in vitro fertilization clinics. To date, the vast majority of prenatal diagnoses have used fluorescent in situ hybridization (FISH), which can determine large chromosomal aberrations (such as Down syndrome, or trisomy 21) and PCR/electrophoresis, which can determine a handful of SNPs or other allele calls. Both polar bodies and blastomeres have been isolated with success. It is critical to isolate single blastomeres without compromising embryonic integrity. The most common technique is to remove single blastomeres from day 3 embryos (6 or 8 cell stage). Embryos are transferred to a special cell culture medium (standard culture medium lacking calcium and magnesium), and a hole is introduced into the zona pellucida using an acidic solution, laser, or mechanical drilling. The technician then uses a biopsy pipette to remove a single visible nucleus. Clinical studies have demonstrated that this process does not decrease implantation success, since at this stage embryonic cells are undifferentiated.

There are three major methods available for whole genome amplification (WGA): ligation-mediated PCR (LM-PCR), degenerate oligonucleotide primer PCR (DOP-PCR), and multiple displacement amplification (MDA). In LM-PCR, short DNA sequences called adapters are ligated to blunt ends of DNA. These adapters contain universal amplification sequences, which are used to amplify the DNA by PCR. In DOP-PCR, random primers that also contain universal amplification sequences are used in a first round of annealing and PCR. Then, a second round of PCR is used to amplify the sequences further with the universal primer sequences. Finally, MDA uses the phi-29 polymerase, which is a highly processive and non-specific enzyme that replicates DNA and has been used for single-cell analysis. Of the three methods, DOP-PCR reliably produces large quantities of DNA from small quantities of DNA, including single copies of chromosomes. On the other hand, MDA is the fastest method, producing hundred-fold amplification of DNA in a few hours. The major limitations to amplification material from a single cells are (1) necessity of using extremely dilute DNA concentrations or extremely small volume of reaction mixture, and (2) difficulty of reliably dissociating DNA from proteins across the whole genome. Regardless, single-cell whole genome amplification has been used successfully for a variety of applications for a number of years.

There are numerous difficulties in using DNA amplification in these contexts. Amplification of single-cell DNA (or DNA from a small number of cells, or from smaller amounts of DNA) by PCR can fail completely, as reported in 5-10% of the cases. This is often due to contamination of the DNA, the loss of the cell, its DNA, or accessibility of the DNA during the PCR reaction. Other sources of error that may arise in measuring the embryonic DNA by amplification and microarray analysis include transcription errors introduced by the DNA polymerase where a particular nucleotide is incorrectly copied during PCR, and microarray reading errors due to imperfect hybridization on the array. The biggest problem, however, remains allele drop-out (ADO) defined as the failure to amplify one of the two alleles in a heterozygous cell. ADO can affect up to more than 40% of amplifications and has already caused PGD misdiagnoses. ADO becomes a health issue especially in the case of a dominant disease, where the failure to amplify can lead to implantation of an affected embryo. The need for more than one set of primers per each marker (in heterozygotes) complicate the PCR process. Therefore, more reliable PCR assays are being developed based on understanding the ADO origin. Reaction conditions for single-cell amplifications are under study. The amplicon size, the amount of DNA degradation, freezing and thawing, and the PCR program and conditions can each influence the rate of ADO.

All those techniques, however, depend on the minute DNA amount available for amplification in the single cell. This process is often accompanied by contamination. Proper sterile conditions and microsatellite sizing can exclude the chance of contaminant DNA as microsatellite analysis detected only in parental alleles exclude contamination. Studies to reliably transfer molecular diagnostic protocols to the single-cell level have been recently pursued using first-round multiplex PCR of microsatellite markers, followed by real-time PCR and microsatellite sizing to exclude chance contamination. Multiplex PCR allows for the amplification of multiple fragments in a single reaction, a crucial requirement in the single-cell DNA analysis. Although conventional PCR was the first method used in PGD, fluorescence in situ hybridization (FISH) is now common. It is a delicate visual assay that allows the detection of nucleic acid within undisturbed cellular and tissue architecture. It relies firstly on the fixation of the cells to be analyzed. Consequently, optimization of the fixation and storage condition of the sample is needed, especially for single-cell suspensions.

Advanced technologies that enable the diagnosis of a number of diseases at the single-cell level include interphase chromosome conversion, comparative genomic hybridization (CGH), fluorescent PCR, and whole genome amplification. The reliability of the data generated by all of these techniques rely on the quality of the DNA preparation. PGD is also costly, consequently there is a need for less expensive approaches, such as mini-sequencing. Unlike most mutation-detection techniques, mini-sequencing permits analysis of very small DNA fragments with low ADO rate. Better methods for the preparation of single-cell DNA for amplification and PGD are therefore needed and are under study. The more novel microarrays and comparative genomic hybridization techniques, still ultimately rely on the quality of the DNA under analysis.

Several techniques are in development to measure multiple SNPs on the DNA of a small number of cells, a single cell (for example, a blastomere), a small number of chromosomes, or from fragments of DNA. There are techniques that use Polymerase Chain Reaction (PCR), followed by microarray genotyping analysis. Some PCR-based techniques include whole genome amplification (WGA) techniques such as multiple displacement amplification (MDA), and Molecular Inversion Probes (MIPS) that perform genotyping using multiple tagged oligonucleotides that may then be amplified using PCR with a singe pair of primers. An example of a non-PCR based technique is fluorescence in situ hybridization (FISH). It is apparent that the techniques will be severely error-prone due to the limited amount of genetic material which will exacerbate the impact of effects such as allele drop-outs, imperfect hybridization, and contamination.

Many techniques exist which provide genotyping data. Taqman is a unique genotyping technology produced and distributed by Applied Biosystems. Taqman uses polymerase chain reaction (PCR) to amplify sequences of interest. During PCR cycling, an allele specific minor groove binder (MGB) probe hybridizes to amplified sequences. Strand synthesis by the polymerase enzymes releases reporter dyes linked to the MGB probes, and then the Taqman optical readers detect the dyes. In this manner, Taqman achieves quantitative allelic discrimination. Compared with array based genotyping technologies, Taqman is quite expensive per reaction (˜$0.40/reaction), and throughput is relatively low (384 genotypes per run). While only Ing of DNA per reaction is necessary, thousands of genotypes by Taqman requires microgram quantities of DNA, so Taqman does not necessarily use less DNA than microarrays. However, with respect to the IVF genotyping workflow, Taqman is the most readily applicable technology. This is due to the high reliability of the assays and, most importantly, the speed and ease of the assay (˜3 hours per run and minimal molecular biological steps). Also unlike many array technologies (such as 500 k Affymetrix arrays), Taqman is highly customizable, which is important for the IVF market. Further, Taqman is highly quantitative, so anueploidies could be detected with this technology alone.

Illumina has recently emerged as a leader in high-throughput genotyping. Unlike Affymetrix, Illumina genotyping arrays do not rely exclusively on hybridization. Instead, Illumina technology uses an allele-specific DNA extension step, which is much more sensitive and specific than hybridization alone, for the original sequence detection. Then, all of these alleles are amplified in multiplex by PCR, and then these products hybridized to bead arrays. The beads on these arrays contain unique “address” tags, not native sequence, so this hybridization is highly specific and sensitive. Alleles are then called by quantitative scanning of the bead arrays. The Illumina Golden Gate assay system genotypes up to 1536 loci concurrently, so the throughput is better than Taqman but not as high as Affymetrix 500 k arrays. The cost of Illumina genotypes is lower than Taqman, but higher than Affymetrix arrays. Also, the Illumina platform takes as long to complete as the 500 k Affymetrix arrays (up to 72 hours), which is problematic for IVF genotyping. However, Illumina has a much better call rate, and the assay is quantitative, so anueploidies are detectable with this technology. Illumina technology is much more flexible in choice of SNPs than 500 k Affymetrix arrays.

One of the highest throughput techniques, which allows for the measurement of up to 250,000 SNPs at a time, is the Affymetrix GeneChip 500 K genotyping array. This technique also uses PCR, followed by analysis by hybridization and detection of the amplified DNA sequences to DNA probes, chemically synthesized at different locations on a quartz surface. A disadvantage of these arrays are the low flexibility and the lower sensitivity. There are modified approaches that can increase selectivity, such as the “perfect match” and “mismatch probe” approaches, but these do so at the cost of the number of SNPs calls per array.

Pyrosequencing, or sequencing by synthesis, can also be used for genotyping and SNP analysis. The main advantages to pyrosequencing include an extremely fast turnaround and unambiguous SNP calls, however, the assay is not currently conducive to high-throughput parallel analysis. PCR followed by gel electrophoresis is an exceedingly simple technique that has met the most success in preimplantation diagnosis. In this technique, researchers use nested PCR to amplify short sequences of interest. Then, they run these DNA samples on a special gel to visualize the PCR products. Different bases have different molecular weights, so one can determine base content based on how fast the product runs in the gel. This technique is low-throughput and requires subjective analyses by scientists using current technologies, but has the advantage of speed (1-2 hours of PCR, 1 hour of gel electrophoresis). For this reason, it has been used previously for prenatal genotyping for a myriad of diseases, including: thalassaemia, neurofibromatosis type 2, leukocyte adhesion deficiency type I, Hallopeau-Siemens disease, sickle-cell anemia, retinoblastoma, Pelizaeus-Merzbacher disease, Duchenne muscular dystrophy, and Currarino syndrome.

Another promising technique that has been developed for genotyping small quantities of genetic material with very high fidelity is Molecular Inversion Probes (MIPs), such as Affymetrix's Genflex Arrays. This technique has the capability to measure multiple SNPs in parallel: more than 10,000 SNPS measured in parallel have been verified. For small quantities of genetic material, call rates for this technique have been established at roughly 95%, and accuracy of the calls made has been established to be above 99%. So far, the technique has been implemented for quantities of genomic data as small as 150 molecules for a given SNP. However, the technique has not been verified for genomic data from a single cell, or a single strand of DNA, as would be required for pre-implantation genetic diagnosis.

The MIP technique makes use of padlock probes which are linear oligonucleotides whose two ends can be joined by ligation when they hybridize to immediately adjacent target sequences of DNA. After the probes have hybridized to the genomic DNA, a gap-fill enzyme is added to the assay which can add one of the four nucleotides to the gap. If the added nucleotide (A,C,T,G) is complementary to the SNP under measurement, then it will hybridize to the DNA, and join the ends of the padlock probe by ligation. The circular products, or closed padlock probes, are then differentiated from linear probes by exonucleolysis. The exonuclease, by breaking down the linear probes and leaving the circular probes, will change the relative concentrations of the closed vs. the unclosed probes by a factor of 1000 or more.

The probes that remain are then opened at a cleavage site by another enzyme, removed from the DNA, and amplified by PCR. Each probe is tagged with a different tag sequence consisting of 20 base tags (16,000 have been generated), and can be detected, for example, by the Affymetrix GenFlex Tag Array. The presence of the tagged probe from a reaction in which a particular gap-fill enzyme was added indicates the presence of the complimentary amino acid on the relevant SNP.

The molecular biological advantages of MIPS include: (1) multiplexed genotyping in a single reaction, (2) the genotype “call” occurs by gap fill and ligation, not hybridization, and (3) hybridization to an array of universal tags decreases false positives inherent to most array hybridizations. In traditional 500K, TaqMan and other genotyping arrays, the entire genomic sample is hybridized to the array, which contains a variety of perfect match and mismatch probes, and an algorithm calls likely genotypes based on the intensities of the mismatch and perfect match probes. Hybridization, however, is inherently noisy, because of the complexities of the DNA sample and the huge number of probes on the arrays. MIPs, on the other hand, uses multiplex probes (i.e., not on an array) that are longer and therefore more specific, and then uses a robust ligation step to circularize the probe. Background is exceedingly low in this assay (due to specificity), though allele dropout may be high (due to poor performing probes).

When this technique is used on genomic data from a single cell (or small numbers of cells) it will—like PCR based approaches—suffer from integrity issues. For example, the inability of the padlock probe to hybridize to the genomic DNA will cause allele dropouts. This will be exacerbated in the context of in-vitro fertilization since the efficiency of the hybridization reaction is low, and it needs to proceed relatively quickly in order to genotype the embryo in a limited time period. Note that the hybridization reaction can be reduced well below vendor-recommended levels, and micro-fluidic techniques may also be used to accelerate the hybridization reaction. These approaches to reducing the time for the hybridization reaction will result in reduced data quality.

Once the genetic data has been measured, the next step is to use the data for predictive purposes. Much research has been done in predictive genomics, which tries to understand the precise functions of proteins, RNA and DNA so that phenotypic predictions can be made based on genotype. Canonical techniques focus on the function of Single-Nucleotide Polymorphisms (SNP); but more advanced methods are being brought to bear on multi-factorial phenotypic features. These methods include techniques, such as linear regression and nonlinear neural networks, which attempt to determine a mathematical relationship between a set of genetic and phenotypic predictors and a set of measured outcomes. There is also a set of regression analysis techniques, such as Ridge regression, log regression and stepwise selection, that are designed to accommodate sparse data sets where there are many potential predictors relative to the number of outcomes, as is typical of genetic data, and which apply additional constraints on the regression parameters so that a meaningful set of parameters can be resolved even when the data is underdetermined. Other techniques apply principal component analysis to extract information from undetermined data sets. Other techniques, such as decision trees and contingency tables, use strategies for subdividing subjects based on their independent variables in order to place subjects in categories or bins for which the phenotypic outcomes are similar. A recent technique, termed logical regression, describes a method to search for different logical interrelationships between categorical independent variables in order to model a variable that depends on interactions between multiple independent variables related to genetic data. Regardless of the method used, the quality of the prediction is naturally highly dependant on the quality of the genetic data used to make the prediction.

Normal humans have two sets of 23 chromosomes in every diploid cell, with one copy coming from each parent. Aneuploidy, a cell with an extra or missing chromosomes, and uniparental disomy, a cell with two of a given chromosome that originate from one parent, are believed to be responsible for a large percentage of failed implantations, miscarriages, and genetic diseases. When only certain cells in an individual are aneuploid, the individual is said to exhibit mosaicism. Detection of chromosomal abnormalities can identify individuals or embryos with conditions such as Down syndrome, Klinefelters syndrome, and Turner syndrome, among others, in addition to increasing the chances of a successful pregnancy. Testing for chromosomal abnormalities is especially important as mothers age: between the ages of 35 and 40 it is estimated that between 40% and 50% of the embryos are abnormal, and above the age of 40, more than half of the embryos are abnormal.

Karyotyping, the traditional method used for the prediction of aneuploides and mosaicism is giving way to other more high throughput, more cost effective methods. One method that has attracted much attention recently is Flow cytometry (FC) and fluorescence in situ hybridization (FISH) which can be used to detect aneuploidy in any phase of the cell cycle. One advantage of this method is that it is less expensive than karyotyping, but the cost is significant enough that generally a small selection of chromosomes are tested (usually chromosomes 13, 18, 21, X, Y; also sometimes 8, 9, 15, 16, 17, 22); in addition, FISH has a low level of specificity. Using FISH to analyze 15 cells, one can detect mosaicism of 19% with 95% confidence. The reliability of the test becomes much lower as the level of mosaicism gets lower, and as the number of cells to analyze decreases. The test is estimated to have a false negative rate as high as 15% when a single cell is analysed. There is a great demand for a method that has a higher throughput, lower cost, and greater accuracy.

Listed here is a set of prior art which is related to the field of the current invention. None of this prior art contains or in any way refers to the novel elements of the current invention. In U.S. Pat. No. 6,720,140, Hartley et al describe a recombinational cloning method for moving or exchanging segments of DNA molecules using engineered recombination sites and recombination proteins. In U.S. Pat. No. 6,489,135 Parrott et al. provide methods for determining various biological characteristics of in vitro fertilized embryos, including overall embryo health, implantability, and increased likelihood of developing successfully to term by analyzing media specimens of in vitro fertilization cultures for levels of bioactive lipids in order to determine these characteristics. In U.S. Patent Application 20040033596 Threadgill et al. describe a method for preparing homozygous cellular libraries useful for in vitro phenotyping and gene mapping involving site-specific mitotic recombination in a plurality of isolated parent cells. In U.S. Pat. No. 5,994,148 Stewart et al. describe a method of determining the probability of an in vitro fertilization (IVF) being successful by measuring Relaxin directly in the serum or indirectly by culturing granulosa lutein cells extracted from the patient as part of an IVF/ET procedure. In U.S. Pat. No. 5,635,366 Cooke et al. provide a method for predicting the outcome of IVF by determining the level of 11β-hydroxysteroid dehydrogenase (11β-HSD) in a biological sample from a female patient. In U.S. Pat. No. 7,058,616 Larder et al. describe a method for using a neural network to predict the resistance of a disease to a therapeutic agent. In U.S. Pat. No. 6,958,211 Vingerhoets et al. describe a method wherein the integrase genotype of a given HIV strain is simply compared to a known database of HIV integrase genotype with associated phenotypes to find a matching genotype. In U.S. Pat. No. 7,058,517 Denton et al. describe a method wherein an individual's haplotypes are compared to a known database of haplotypes in the general population to predict clinical response to a treatment. In U.S. Pat. No. 7,035,739 Schadt at al. describe a method is described wherein a genetic marker map is constructed and the individual genes and traits are analyzed to give a gene-trait locus data, which are then clustered as a way to identify genetically interacting pathways, which are validated using multivariate analysis. In U.S. Pat. No. 6,025,128 Veltri et al. describe a method involving the use of a neural network utilizing a collection of biomarkers as parameters to evaluate risk of prostate cancer recurrence.

The cost of DNA sequencing is dropping rapidly, and in the near future individual genomic sequencing for personal benefit will become more common. Knowledge of personal genetic data will allow for extensive phenotypic predictions to be made for the individual. In order to make accurate phenotypic predictions high quality genetic data is critical, whatever the context. In the case of prenatal or pre-implantation genetic diagnoses a complicating factor is the relative paucity of genetic material available. Given the inherently noisy nature of the measured genetic data in cases where limited genetic material is used for genotyping, there is a great need for a method which can increase the fidelity of, or clean, the primary data.

SUMMARY OF THE INVENTION

The system disclosed enables the cleaning of incomplete or noisy genetic data using secondary genetic data as a source of information. While the disclosure focuses on genetic data from human subjects, and more specifically on as-yet not implanted embryos or implanted fetuses, it should be noted that the methods disclosed apply to the genetic data of a range of organisms, in a range of contexts. The techniques described for cleaning genetic data are most relevant in the context of pre-implantation diagnosis during in-vitro fertilization, prenatal diagnosis in conjunction with amniocentesis, chorion villus biopsy, and fetal blood sampling, and non-invasive prenatal diagnosis, where a small quantity of fetal genetic material is isolated from maternal blood. The diagnoses may focus on inheritable diseases, increased likelihoods of defects or abnormalities, as well as making phenotype predictions for individuals to enhance clinical and lifestyle decisions. The invention addresses the shortcomings of prior art that are discussed above.

In one aspect of the invention, methods make use of imperfect knowledge of the genetic data of the mother and the father, together with the knowledge of the mechanism of meiosis and the imperfect measurement of the embryonic DNA, in order to reconstruct, in silico, the embryonic DNA at the location of key SNPs with a high degree of confidence. It is important to note that the parental data allows the reconstruction not only of SNPs that were measured poorly, but also of insertions, deletions, and of SNPs or whole regions of DNA that were not measured at all.

The disclosed method is applicable in the context of in-vitro fertilization, where a very small number of blastomeres are available for genotyping from each embryo being considered for implantation. The disclosed method is equally applicable to the context of Non-Invasive Prenatal Diagnosis (NIPD) where only a small number of fetal cells, or fragments of fetal DNA, have been isolated from the mother's blood. The disclosed method is more generally applicable in any case where a limited amount of genetic data is available from the target genome, and additional genetic data is available from individuals who are genetically related to the target.

In one aspect of the invention, the fetal or embryonic genomic data which has been reconstructed can be used to detect if the cell is aneuploid, that is, if fewer or more than two of a particular chromosome is present in a cell. A common example of this condition is trisomy-21, which gives rise to Down syndrome. The reconstructed data can also be used to detect for uniparental disomy, a condition in which two of a given chromosome are present, both of which originate from one parent. This is done by creating a set of hypotheses about the potential states of the DNA, and testing to see which one has the highest probability of being true given the measured data. Note that the use of high throughput genotyping data for screening for aneuploidy enables a single blastomere from each embryo to be used both to measure multiple disease-linked loci as well as screen for aneuploidy.

In another aspect of the invention, the direct measurements of the amount of genetic material, amplified or unamplified, present at a plurality of loci, can be used to detect for aneuploides, or uniparental disomy. The idea behind this method is simply that the amount of genetic material present during amplification is proportional to the amount of genetic information in the initial sample, and measuring these levels at multiple loci will give a statistically significant result.

In another aspect of the invention, the disclosed method can clean genetic material of the individual which has been contaminated by foreign DNA or RNA by identifying the data generated by extraneous genetic materials. The spurious signals generated by the contaminating DNA can be recognized in a manner similar to that way that chromosome-wide anomalous signals generated by aneuploides can be detected.

In another aspect of the invention, target cells are isolated, the genetic data contained in those cells are amplified, and measurements of multiple SNPs are made using a combination of one or more of the following techniques: PCR-based amplification techniques, PCR-based measurement techniques, or detection techniques based on Molecular Inversion Probes, or microarrays such as the GeneChip or TaqMan systems. This genetic data is then used in the system described herein.

In another aspect of the invention, the genetic data of an individual can be cleaned using diploid and haploid data from both parents. Alternately, haploid data from a parent can be simulated if diploid and haploid data of the parent's parent can be measured. In another aspect, genetic data from any person of a known genetic relation to the individual can be used to clean the data of the individual, including parents, siblings, grandparents, offspring, cousins, uncles, aunts etc.

In another aspect of the invention, the target and/or related individual's genetic data may be partly or wholly known in silico, obviating the need for some direct measurements. Portions of the genetic data can be generated in silico by means of an informatics approach utilizing a hidden Markov model.

In another aspect of the invention, it is possible to estimate the confidence one has in the determination of those SNPs.

Note that the techniques described herein are relevant both to measurements of genetic material in one, or a small number of cells, as well as to measurements on smaller amounts of DNA such as that which can be isolated from the mother's blood in the context of Non-invasive Prenatal Diagnosis (NIPD). Also note that this method can be equally applied to genomic data in silico, i.e. not directly measured from genetic material.

It will be recognized by a person of ordinary skill in the art, given the benefit of this disclosure, aspects and embodiments that may implement one or more of the systems, methods, and features, disclosed herein.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1. an illustration of the concept of recombination in meiosis for gamete formation.

FIG. 2. an illustration of the variable rates of recombination along one region of Human Chromosome 1.

FIG. 3. determining probability of false negatives and false positives for different hypotheses.

FIG. 4. the results from a mixed female sample, all loci hetero.

FIG. 5. the results from a mixed male sample, all loci hetero.

FIG. 6. Ct measurements for male sample differenced from Ct measurements for female sample.

FIG. 7. the results from a mixed female sample; Taqman single dye.

FIG. 8. the results from a mixed male; Taqman single dye.

FIG. 9. the distribution of repeated measurements for mixed male sample.

FIG. 10. the results from a mixed female sample; qPCR measures.

FIG. 11. the results from a mixed male sample; qPCR measures.

FIG. 12. Ct measurements for male sample differenced from Ct measurements for female sample.

FIG. 13. detecting aneuploidy with a third dissimilar chromosome.

FIG. 14. an illustration of two amplification distributions with constant allele dropout rate.

FIG. 15. a graph of the Gaussian probability density function of alpha.

FIG. 16. the general relationship diagram of the input data, the database data, the algorithm and the output.

FIG. 17. a visual overview of how to derive P(H|M).

FIG. 18. a visual representation of the flow chart describing the algorithm used to demonstrate the effectiveness of the cleaning algorithm on simulated data.

FIG. 19. an illustration of a system that is configured to accomplish the method disclosed herein, in the context of phenotype prediction of embryos during IVF.

Table 1: a summary of different aneuploidy detection techniques

Table 2: an example of input data for the method described using SNPs with a low degree of cosegregation.

Table 3: an example of input data for the method described using SNPs with a high degree of cosegregation.

Table 4: an example of the output data for the input data shown in Table 2.

Table 5: an example of the output data for the input data shown in Table 4.

Table 6: the results of the preliminary simulation.

Table 7: the results of the full simulation of the method.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Conceptual Overview of the System

The goal of the disclosed system is to provide highly accurate genomic data for the purpose of genetic diagnoses. In cases where the genetic data of an individual contains a significant amount of noise, or errors, the disclosed system makes use of the similarities between genetic data of related individuals, and the information contained in that secondary genetic data, to clean the noise in the target genome. This is done by determining which segments of chromosomes were involved in gamete formation and where crossovers occurred during meiosis, and therefore which segments of the secondary genomes are expected to be nearly identical to sections of the target genome. In certain situations this method can be used to clean noisy base pair measurements, but it also can be used to infer the identity of individual base pairs or whole regions of DNA that were not measured. In addition, a confidence can be computed for each reconstruction call made. A highly simplified explanation is presented first, making unrealistic assumptions in order to illustrate the concept of the invention. A detailed statistical approach that can be applied to the technology of today is presented afterward.

Another goal of the system is to detect abnormal numbers of chromosomes, sections of chromosomes, and origins of chromosomes. In genetic samples that are aneuploid, have unbalanced translocations, uniparental disomy, or other gross chromosomal abnormalities, the amount of genetic material present at a plurality of loci can be used to determine the chromosomal state of the sample. There are multiple approaches to this method, and several of them are described here. In some approaches, the amount of genetic material present in a sample is sufficient to directly detect aneuploides. In other approaches, the method for cleaning the genetic material can be used to enhance the efficiency of detection of chromosomal imbalances. A confidence can be computed for each chromosomal call made.

Technical Description of the System

A SIMPLIFIED EXAMPLE

FIG. 1 illustrates the process of recombination that occurs during meiosis for the formation of gametes in a parent. The chromosome 101 from the individual's mother is shown in grey. The chromosome 102 from the individual's father is shown in white. During this interval, known as Diplotene, during Prophase I of Meiosis, a tetrad of four chromatids 103 is visible. Crossing over between non-sister chromatids of a homologous pair occurs at the points known as recombination nodules 104. For the purpose of illustration, the example will focus on a single chromosome, and three Single Nucleotide Polymorphisms (SNPs), which are assumed to characterize the alleles of three genes. For this discussion it is assumed that the SNPs may be measured separately on the maternal and paternal chromosomes. This concept can be applied to many SNPs, many alleles characterized by multiple SNPs, many chromosomes, and to the current genotyping technology where the maternal and paternal chromosomes cannot be individually isolated before genotyping.

Attention must be paid to the points of potential crossing over in between the SNPs of interest. The set of alleles of the three maternal genes may be described as (a_(m1), a_(m2), a_(m3)) corresponding to SNPs (SNP₁, SNP₂, SNP₃). The set of alleles of the three paternal genes may be described as (a_(p1), a_(p2), a_(p3)). Consider the recombination nodules formed in FIG. 1, and assume that there is just one recombination for each pair of recombining chromatids. The set of gametes that are formed in this process will have gene alleles: (a_(m1), a_(m2), a_(p3)), (a_(m1), a_(p2), a_(p3)), (a_(p1) a_(m2), a_(p3)), (a_(p1), a_(p2), a_(m3)). In the case with no crossing over of chromatids, the gametes will have alleles (a_(m1), a_(m2), a_(m3)), (a_(p1), a_(p2), a_(p3)). In the case with two points of crossing over in the relevant regions, the gametes will have alleles (a_(m1), a_(p2), a_(m3)), (a_(p1), a_(m2), a_(p3)). These eight different combinations of alleles will be referred to as the hypothesis set of alleles, for that particular parent.

The measurement of the alleles from the embryonic DNA will be noisy. For the purpose of this discussion take a single chromosome from the embryonic DNA, and assume that it came from the parent whose meiosis is illustrated in FIG. 1. The measurements of the alleles on this chromosome can be described in terms of a vector of indicator variables: A=[A₁A₂A₃]^(T) where A₁=1 if the measured allele in the embryonic chromosome is a_(m1), A₁=−1 if the measured allele in the embryonic chromosome is a_(p1), and A₁=0 if the measured allele is neither a_(m1), or a_(p1). Based on the hypothesis set of alleles for the assumed parent, a set of eight vectors may be created which correspond to all the possible gametes describe above. For the alleles described above, these vectors would be a₁=[1 1 1]^(T), a₂=[1 1 −1]^(T), a₃=[1−1 1]^(T), a₄=[1 −1^(T), a₅=−1 1 1]^(T), a₆=−[1 1 1]^(T), a₇=[−1 −1 1]^(T), a₈=[−1 −1 −1]^(t). In this highly simplified application of the system, the likely alleles of the embryo can be determined by performing a simple correlation analysis between the hypothesis set and the measured vectors: i*=arg max_(i) A ^(T) a _(i) , i=1  (1)

Once i* is found, the hypothesis a_(i*) is selected as the most likely set of alleles in the embryonic DNA. This process is then repeated twice, with two different assumptions, namely that the embryonic chromosome came from the mother or the father. That assumption which yields the largest correlation A^(T)a_(i*) would be assumed to be correct. In each case a hypothesis set of alleles is used, based on the measurements of the respective DNA of the mother or the father. Note that in a typical embodiment of the disclosed method, one measures a large number of SNPs between those SNPs that are important due to their association with particular disease phenotypes—these will be referred to these as Phenotype-associated SNPs or PSNPs. The Non-phenotype-associated SNPs (NSNPs) between the PSNPs may be chosen a-priori (for example, for developing a specialized genotyping array) by selecting from the NCBI dbSNP database those RefSNPs that tend to differ substantially between individuals. Alternatively, the NSNPs between the PSNPs may be chosen for a particular pair of parents because they differ between the parents. The use of the additional SNPs between the PSNPs enables one to determine with a higher level of confidence whether crossover occurs between the PSNPs. It is important to note that while different “alleles” are referred to in this notation, this is merely a convenience; the SNPs may not be associated with genes that encode proteins.

The System in the Context of Current Technology

In another more complex embodiment, the a-posteriori probability of a set of alleles is computed given a particular measurement, taking into account the probability of particular crossovers. In addition, the scenario typical of microarrays and other genotyping technologies is addressed where SNPs are measured for pairs of chromosomes, rather than for a single chromosome at a time. The measurements of the genotype at the locus i for the embryonic, paternal and maternal chromosomes may be characterized respectively by random variables representing the pairs of SNP measurements (e_(1,i), e_(2,i)), (p_(1,i), p_(2,i)) and (m_(1,i), m_(2,i)). Since one cannot determine the presence of crossovers in the maternal and paternal chromosomes if all measurements are made as pairs, the method is modified: in addition to genotyping the fertilized embryos and paternal and maternal diploid tissue, one haploid cell from each parent, namely, a sperm cell and an egg cell, is also genotyped. The measured alleles of the sperm cell are represented by p_(1,i), i=1 . . . N and the complementary alleles measured from the paternal diploid tissue by p_(2,i)i=1Similarly, the measured alleles of the egg cell are represented by m_(1,i) and their complement in the mother's diploid cell by m_(2,i). These measurements provide no information on where the parental chromosomes crossed over in generating the measured sperm and egg cells. However, one can assume that the sequence of N alleles on the egg or sperm was created from the parental chromosomes by a small number of, or no, crossovers. This is sufficient information to apply the disclosed algorithm. A certain error probability is associated with calling the paternal and maternal SNPs. The estimation of this error probability will vary based on the measurements made (p_(1,i), p_(2,i)) and (m_(1,i), m_(2,i)) and the signal-to-noise ratio for the technology used. Although these error probabilities can be uniquely computed for each locus without affecting the disclosed method, the algebra is simplified here by assuming that the probabilities of correctly calling the paternal and maternal SNPs are constant at p_(p) and p_(m) respectively.

Assume that a measurement is performed on the embryonic DNA which is termed measurement M. In addition, the notation is slightly modified so that A is now a set and not a vector: A refers to a particular hypothesis about the combination (or set) of alleles derived from each parent. The set of all possible combinations of alleles A from both parents is denoted as S_(A). The goal is to determine the combination of alleles (or that hypothesis) AεS_(A) with the highest a-posteriori probability, given the measurement M: A*=arg max_(A) P(A|M), ∀AεS _(A)  (2)

Using the law of conditional probabilities, P(A|M)=P(M|A)P(A)/P(M). Since P(M) is common for all different A's, the optimizing search can be recast as: A*=arg max_(A) P(M|A)P(A), ∀AεS _(A)  (3) Now consider the computation of P(M/A). Begin with a single locus i, and let the hypothesis be that this locus on the embryo is derived from the parental SNPs p_(t,1,i) and m_(t,1,i), where the underscore_(t) is used to denote the true value of these Parental SNPs, as opposed to the measurements performed, p_(1,i) and m_(1,i), which may or may not be correct. The true value of the embryonic SNPs is denoted as (e_(t,1,i), e_(t,2,i)). If hypothesis A is true, then (e_(t,1,i), e_(t,2,i))=(p_(t,1,i), m_(t,1,i)) or (m_(t,1,i,), p_(t,1,i)). Since one cannot differentiate which of the measurements (e_(1,i), e_(2,i)) comes from which parent, both orders must be considered so the hypothesis set A=[(p_(t,1,i), m_(t,1,i)), (m_(t,1,i), p_(t,1,i))]. The probability of a particular measurement M depends on the true values or the underlying states of the parental SNPs, namely (p_(t,1,i), p_(t,2,i)) and (m_(t,1,i), m_(t,2,i)). Since there are four SNPs, p_(t,1,i), p_(t,2,i), m_(t,1,i), m_(t,2,i), and each of these can assume the value of four nucleotide bases, A,C,T,G, there are 4⁴ or 256 possible states. The algorithm is illustrated for one state s₁ for which it is assumed that p_(t,1,i)≠p_(t,2,i)≠m_(t,1,i)≠m_(t,2,i). From this explanation, it will be clear how to apply the method to all 256 possible states, s_(k), k=1 . . . 256. Assume a measurement M of embryonic SNPs (e_(1,i), e_(2,i)) is performed, and the result e_(1,i)=p_(1,i), e_(2,i)=m_(1,i) is obtained. The a priori probability for this measurement given that hypothesis A and state s₁ are true is computed: $\begin{matrix} {{P\left( {{e_{1,i} = p_{1,i}},{e_{2,i} = {m_{1,i}❘A}},s_{1}} \right)} = {{{P\left( {{e_{t,1,i} = p_{t,1,i}},{e_{t,2,i} = {m_{t,1,i}❘A}},s_{1}} \right)}{P\left( {e_{1,i} = {{p_{1,i}❘e_{t,1,i}} = p_{t,1,i}}} \right)}{P\left( {e_{2,i} = {{m_{1,i}❘e_{t,2,i}} = m_{t,1,i}}} \right)}} + {{P\left( {{e_{t,1,i} = m_{t,1,i}},{e_{t,2,i} = {p_{t,1,i}❘A}},s_{1}} \right)}{P\left( {{e_{1,i} = {{p_{1,i}❘e_{t,1,i}} = m_{t,1,i}}},{p_{t,1,i} \neq m_{t,1,i}}} \right)}{P\left( {{e_{2,i} = {{m_{1,i}❘e_{t,2,i}} = p_{t,2,i}}},{p_{t,2,i} \neq m_{t,1,i}}} \right)}}}} & (4) \end{matrix}$ Consider the first expressions in the first term and second term: P(e_(1,i)=p_(1,i),e_(2,i)=m_(1,i),|A,s₁)=P(e_(1,i)=m_(1,i),e_(2,i)=p_(1,i)|A,s₁)=0.5 since the hypothesis A=[(p_(t,1,i), m_(t,1,i)), (m_(t,1,i,), p_(t,1,i))] makes two orderings for the embryonic SNPs equally likely. Now consider the second expression of the first term, P(e_(1,i)=p_(1,i)|e_(t,1,i)=p_(t,1,i)), the probability of measuring e_(,1,i)=p_(1,i) given the assumption that embryonic SNP e_(t,1,i) actually is derived from paternal SNP p_(t,1,i). The probabilities for correctly measuring the paternal SNPs, maternal SNPs, and embryonic SNPs are p_(p), p_(m), and p_(e). Given the assumption (e_(t,1,i)=p_(t,1,i)), the measurement (e_(1,i)=p_(1,i)) requires either that both embryonic and paternal SNPs are correctly measured, or that both are incorrectly measured and they happen to be incorrectly measured as the same nucleotide (A,C,T, or G). So, P(e_(1,i)=p_(1,i)|e_(t,1,i)=p_(t,1,i))=p_(e)p_(p)+(1−p_(e))(1−p_(p))/3 where it is assumed for simplicity that the probability of incorrectly calling all of the four nucleotides is equally likely—the algorithm can be easily modified to accommodate different probabilities of calling a particular nucleotide (A,C,T,G) given a measurement on another particular nucleotide. The same approach may be applied to the third expression in the first term to obtain P(e_(2,i)=m_(1,i)|e_(t,2,i)=m_(t,1,i))=p_(e)p_(m)+(1−p_(e))(1−p_(m))/3. Now consider the second expression of the second term. P(e_(1,i)=p_(1,i)|e_(t,1,i)=m_(t,1,i)=m_(t,1,i)≈p_(t,1,i)) requires either that e_(1,i) or p_(1,i) be an incorrect measurement, or that both be incorrect measurements, so that the measured values happen to be equal: P(e_(1,i)=p_(1,i)|e_(t,1,i)=m_(t,1,i), m_(t,1,i)≈p_(t,1,i))=P_(e)(1−p_(p))/3+(1−p_(e))p_(p)/3+(1−p_(e))(1−p_(p))2/9. The same argument can be applied to the last expression of the second term to yield P(e_(2,i)=m_(1,i)|e_(t,2,i)=p_(t,2,i), m_(t,1,i)≈p_(t,2,i))=p_(e)(1−p_(m))/3+(1−p_(e))p_(m)/3+(1−p_(e))(1−p_(m))2/9. Now, combining all of these terms, and making the assumption—merely to simplify the algebra—that p_(e)=p_(p)=p_(m)=p, one can compute: $\begin{matrix} {{P\left( {{{M\left( {{e_{1,i} = p_{1,i}},{e_{2,i} = m_{1,i}}} \right)}❘A},s_{1}} \right)} = {\frac{1}{162}\left( {{160\quad p^{4}} - {160p^{3}} + {96p^{2}} - {28p} + 13} \right)}} & (5) \end{matrix}$

Although the computation will vary, a similar conceptual approach to that described here would be used for all 256 possible states, s_(k), k=1 . . . 256. Computing P(e_(1,i)=p_(1,i), e_(2,i)=m_(1,i)|A,s_(i)) for all 256 states si and summing over the probability of each s_(i) one obtains P(e,_(1,i)=p_(1,i), e_(2,i)=m_(1,i)|A). In other words: $\begin{matrix} {{P\left( {M❘A} \right)} = {\sum\limits_{i = {1\quad\ldots\quad 256}}{{P\left( {{M❘A},s_{i}} \right)}{P\left( s_{i} \right)}}}} & (6) \end{matrix}$

In order to compute the probabilities of each state s_(i), P(s_(i)), one must treat all the separate alleles making up a state as separate events since they are on separate chromosomes, in other words: P(s_(i))=P(p_(t,1,i,), P_(t,2,i), m_(t,1,i), m_(t,2,i))=P(p_(t,1,i))P(p_(t,2,i))P(m_(t,1,i))P(m_(t,2,i)). Bayesian techniques may be applied to estimate the probability distribution for the individual measurements. Every measurement of an allele on the maternal or paternal chromosomes at locus i may be treated as a coin toss experiment to measure the probability of this allele being a particular value (A,C,T or G). These measurements are made on the adult tissue samples and may be treated as being totally reliable, even though pairs of alleles are measured for each SNP, and it is not possible to determine which allele comes from which chromosome. Let w_(p,1,i,)=P(p_(t,1,i)), corresponding to the probability of the SNP i on the father's chromosome being value P_(t,1,i). In the following explanation, w is used instead of w_(p,1,i). Let the measurements performed on SNP i of the father's chromosome be characterized as collecting data D. One can create a probability distribution for w, p(w) and update this after the data is measurement according to Bayes Theorem: p(w|D)=p(w)p(D|w)/p(D). Assume n alleles of SNP i are observed and that the particular allele corresponding to w comes up h times—in other words, heads is observed h times. The probability of this observation can be characterized by the binomial distribution $\begin{matrix} {{p\left( {D❘w} \right)} = {\begin{pmatrix} n \\ h \end{pmatrix}{w^{h}\left( {1 - w} \right)}^{n - h}}} & (7) \end{matrix}$ Before data is collected, assume there is a prior distribution p(w) which is uniform between 0 and 1. By applying the Bayes theorem, it is straightforward to show that the resulting distribution for p(w|D) will be a beta distribution of the form: $\begin{matrix} {{p\left( {w❘D} \right)} = {{\frac{1}{c}{w^{h}\left( {1 - w} \right)}^{n - h}\quad{where}\quad c} = {\int_{0}^{1}{{w^{h}\left( {1 - w} \right)}^{n - h}{\mathbb{d}w}}}}} & (8) \end{matrix}$ and c is a normalizing constant. However many times p(w|D) is then updated by applying Bayes theorem and new measurements, it will continue to have a beta distribution as above. The estimates of p(w) are updated every time a new measurement is collected. Note that there will be a different function p(w) for different races and different genders, using the same groupings used in the Hapmap project, since the probability of different alleles at particular SNPs is dependent on these groupings of race and gender. For the computation of P(s_(i)), each allele on each chromosome will be associated with an estimated probability distribution, namely p_(p,1,i)(w_(p,1,i)), p_(p,2,i)(w_(p,2,i)), p_(m,1,i)(w_(m,1,i)) and p_(m,2,i)(w_(m,2,i)). One may then compute the maximum a-posteriori (MAP) estimate for P(s_(i)) according to the MAP estimate for each of the individual distributions. For example, let w_(p,1,i)* be the argument that maximizes p_(p,1,i)(w_(p,1,i)). The MAP estimate of P(s_(i)) may be found according to P(s _(i))_(MAP) =w _(p,1,i) *w _(p,2,i) *w _(m,1,i) *w _(m,2,i)*  (9)

Since there is the a probability distribution for each w, one can also compute conservative estimates of the values P(s_(i)) to any specified confidence level, by integrating over the probability distribution, rather than simply using the MAP estimates. It is possible to do this, for example, to conservatively estimate P(M|A) to within some confidence level. Whether a conservative estimate or a MAP estimate is used, the estimate of P(s_(i)) is continually refined for the computation of P(M|A). In what follows, reference to the assumed state will be eliminated to simplify the notation, and state s_(i) is assumed for all explanations of detailed computation. Bear in mind that in actuality these calculations would be performed for each of 256 states and be summed over the probability of each.

The method of computing P(M|A) is now extended to multiple SNP loci, assuming that M represents the set of measurements of N pairs of SNPs on the embryo, M=[M₁, . . . , M_(N)]. Assume also that A represents the set of hypotheses for each SNP about which parental chromosomes contributed to that SNP, A=[A₁, . . . , A_(N)]. Let S_(A), represent the set of all other possible hypotheses that are different from A or are in the set A′. P(M|A) and P(M|A′) may be computed: $\begin{matrix} {{{P\left( {M❘A} \right)} = {\prod\limits_{i = {1\quad\ldots\quad N}}{P\left( {M_{i}❘A_{i}} \right)}}},{{P\left( {M❘A^{\prime}} \right)} = {\sum\limits_{A \in S_{A^{\prime}}}{{P(A)}{\prod\limits_{i = {1\quad\ldots\quad N}}{P\left( {M❘A_{i}} \right)}}}}}} & (10) \end{matrix}$ Consider the computation of P(A). In essence, this is based on the likelihood of particular crossovers occurring in the formation of the gametes that form the embryo. The probability of a particular allele set depends on two factors, namely the probability that the embryonic chromosome comes from the mother or the father, and the probability of a particular combination of crossovers. For a normal set of embryonic chromosomes that do not suffer from aneuploidy, the a-priori probability that the embryonic chromosome comes from the mother or father is ˜50% and is consequently common for all A. Now, consider the probability of a particular set of recombination nodes. The number of relevant recombination sites R depends on the number of measured SNPS: R=N−1. Since the DNA segment constituting N NSNPs around the PSNP of interest will be relatively short, crossover interference makes it highly improbable that two crossovers on the same chromosome can occur in one region. For reasons of computational efficiency this method assumes that only one crossover will occur in each region for each relevant chromosome, and this can occur at R possible sites. It will be obvious to someone skilled in the art how this method may be extended to include the possibility where there are multiple crossovers in a given region.

Let the probability of a crossover in each region between SNPs be denoted P_(r), r=1 . . . N−1. To first order, the probability of a recombination node in a region r between two SNPs is proportional to the genetic distance between those SNPs (measured in cMorgans). However, much recent research has enabled a precise modeling of the probability of recombination between two SNP loci. Observations from sperm studies and patterns of genetic variation show that recombination rates vary extensively over kilobase scales and that much recombination occurs in recombination hotspots, and causes linkage disequilibrium to display a block-like structure. The NCBI data about recombination rates on the Human Genome is publicly available through the UCSC Genome Annotation Database.

Various data sets can be used singly or in combination. Two of the most common data sets are from the Hapmap Project and from the Perlegen Human Haplotype Project. The latter is higher density; the former is higher quality. See FIG. 2 for the regional recombination rates from positions 1,038,423 to 4,467,775 of chromosome 1, based on the HapMap Phase I data, release 16a. These rates were estimated using the reversiblejump Markov Chain Monte Carlo (MCMC) method which is available in the package LDHat. The state-space considered is the distribution of piece-wise constant recombination rate maps. The Markov chain explores the distribution of the number and location of rate change-points, in addition to the rates for each segment, 201. These results may be used to generate an estimate of P_(r) by integrating over the recombination rates times by the length of each constant segment between the SNPS. The cumulative recombination rate over the nucleotides 202 is shown in FIG. 2 in red.

Let C be a set of indicator variables c_(r) such that c_(r)=1 if a crossover occurred in region r and 0 otherwise. c₀=1 if no crossovers occurred and 0 otherwise. Since it is assumed that only one crossover can occur in a region of N SNPs, only one element of the set C is non-zero. Hence, the probability of crossover represented by set C is found to be: $\begin{matrix} {P_{c} = {\left( {1 - {\sum\limits_{r = {{1\quad\ldots\quad N} - 1}}P_{r}}} \right)^{c_{0}}{\prod\limits_{r = 1}P_{r}^{c_{r}}}}} & (11) \end{matrix}$ In the hypothesis A about SNPs 1 . . . N, there are four potential crossovers of relevance. Namely, the potential crossovers in i) the paternal chromosomes that formed the embryo (denoted by set C_(pe) of indicator variables), ii) the paternal chromosomes that formed the sequenced sperm (set C_(ps)) iii) the maternal chromosomes that formed the embryo (set C_(me)) and iv) the maternal chromosomes that formed the sequenced egg (set C_(ee)). Two additional assumptions are v) whether the first paternal embryonic SNP comes from p_(t,1,i), or P_(t,2,i) and vi) whether the first maternal embryonic SNP comes from m_(t,1,i) or M_(t,2,i). Since the probabilities of crossovers between SNPs is found to differ between races and sexes, different crossover probabilities will be denoted as P_(p,r) for the paternal chromosomes, and P_(m,r) for the maternal chromosomes. Therefore, the probability of a particular hypothesis A, which subsumes the sets C_(pe), C_(ps), C_(me), C_(ee) is expressed as: $\begin{matrix} {{P(A)} = {\frac{1}{4}\left( {1 - {\sum\limits_{r = {{1\quad\ldots\quad N} - 1}}P_{p,r}}} \right)^{c_{{p\quad r},0}}{\prod\limits_{r = {{1\quad\ldots\quad N} - 1}}{{P_{p,r}^{c_{{p\quad s},r}}\left( {1 - {\sum\limits_{r = {{1\quad\ldots\quad N} - 1}}P_{p,r}}} \right)}^{c_{{p\quad s},0}}{\prod\limits_{r = {{1\quad\ldots\quad N} - 1}}{{P_{p,r}^{c_{{p\quad s},r}}\left( {1 - {\sum\limits_{r = {{1\quad\ldots\quad N} - 1}}P_{m,r}}} \right)}^{c_{{m\quad c},0}}{\prod\limits_{r = {{1\quad\ldots\quad N} - 1}}{{P_{p,r}^{c_{{m\quad c},r}}\left( {1 - {\sum\limits_{r = {{1\quad\ldots\quad N} - 1}}P_{m,r}}} \right)}^{c_{{e\quad e},0}}{\prod\limits_{r = {{1\quad\ldots\quad N} - 1}}P_{p,r}^{c_{{e\quad e},r}}}}}}}}}}} & (12) \end{matrix}$

Now with the equations for determining P(A) and P(M/A), all the elements necessary to compute A* per Equation 3 above have been defined. Hence, it is possible to determine from the highly error-prone measurements of the embryonic SNPs where crossovers occurred, and to consequently clean the embryonic measurements with a high degree of confidence. It remains to determine the degree of confidence in the best hypothesis A*. To determine this, it is necessary to find the odds ratio P(A*|M)/P(A*|M). The tools have all been described above for this computation: $\begin{matrix} \begin{matrix} {\frac{P\left( {A^{*}❘M} \right)}{P\left( {A^{*\prime}❘M} \right)} = \frac{P\left( {A^{*}❘M} \right)}{1 - {P\left( {A^{*}❘M} \right)}}} \\ {= \frac{{P\left( A^{*} \right)}{P\left( {M❘A^{*}} \right)}}{{P\left( A^{*\prime} \right)}{P\left( {M❘A^{*\prime}} \right)}}} \\ {= \frac{{P\left( A^{*} \right)}{P\left( {M❘A^{*}} \right)}}{\left( {11 - {P\left( A^{*} \right)}} \right){P\left( {M❘A^{*\prime}} \right)}}} \\ {= {OR}_{A^{*}}} \end{matrix} & (13) \end{matrix}$

The confidence in A* is then given as P(A*|M)=OR_(A*)/(1+OR_(A*)). This computation indicates the confidence in a particular hypothesis A*, but it does not indicate a confidence in a particular determination of a SNP. In order to compute the confidence in a determination of embryonic PSNP n, it is necessary to create the set of all hypotheses A that don't change the value of this SNP. This set will be denoted as S_(A*,n), which corresponds to all hypothesis that result in PSNP n on the embryo having the same value as is predicted by hypothesis A*. Similarly, create a set S_(A*',n) which corresponds to all hypothesis that result in PSNP n having a different value to that predicted by hypothesis A*. Now, it is possible to compute the odds ratio of the probability that the SNP is correctly called versus the probability that the SNP is incorrectly called: $\begin{matrix} \begin{matrix} {{OR}_{A^{*},n} = \frac{\sum\limits_{A \in S_{A^{*},n}}{P\left( {A❘M} \right)}}{\sum\limits_{A \in S_{A^{*\prime},n}}{P\left( {A❘M} \right)}}} \\ {= \frac{\sum\limits_{A \in S_{A^{*},n}}{P\left( {A❘M} \right)}}{1 - {\sum\limits_{A \in S_{A^{*\prime},n}}{P\left( {A❘M} \right)}}}} \\ {= \frac{\sum\limits_{A \in S_{A^{*},n}}{{P(A)}{P\left( {M❘A} \right)}}}{\sum\limits_{A \in S_{A^{*\prime},n}}{{P(A)}{P\left( {M❘A} \right)}}}} \end{matrix} & (14) \end{matrix}$ The confidence in the particular call of embryonic SNP n based on the odds ratio OR_(A*,n) can be computed as: $\begin{matrix} {{P\quad\left( {{correctly}\quad{called}\quad{SNP}\quad n} \right)} = {{\sum\limits_{A \in S_{A^{*},n}}{P\left( {A\text{❘}M} \right)}} = \frac{{OR}_{A^{*},n}}{1 + {OR}_{A^{*},n}}}} & (15) \end{matrix}$

Note that this technique could also be used to detect such defects as uniparental disomy (UPD) wherein two of the same chromosomes are from the same parent, while none of that chromosomes from the other parent is present. Upon attempting to deduce the crossovers in the parent chromosomes, there will be no hypothesis which adequately explains the data with a high confidence, and if alternate hypotheses are allowed that include the possibility of UPD, they will found to be more likely.

Bounding the Effect of Uncertainty in Recombination Rates and SNP Measurement Reliability

The disclosed method depends on: assumptions about the probability of recombination between particular SNPs; assumptions about the probability of the correct measurement of each SNP on the embryonic, sperm, egg, paternal and maternal chromosomes; and assumptions about the likelihood of certain alleles within different population groups. Consider each of these assumptions: the mechanism of recombination is not perfectly understood and modeled, and the crossover probability has been established to vary based on an individual's genotype. Furthermore, the techniques by which the recombination rates are measured show substantial variability. For example, the package LDHat, which implements the reversible-jump Markov Chain Monte Carlo (MCMC) method, makes a set of assumptions and requires a set of user inputs about the mechanism and characterization of recombination. These assumptions can affect predicted recombination rates between SNPs as is evinced by the different results obtained by various studies.

It is anticipated that the assumptions about recombination rates, out of all assumptions listed above, will have the most impact on Equation 15. The computations described above should be based on the best estimates of the probability for crossover between SNPS, P_(r). Thereafter, conservative estimates may be used for P_(r) using values at, for example, the 95% confidence bounds for the recombination rates, in the direction that reduces the confidence measure P(correctly called SNP n). The 95% confidence bounds may be derived from confidence data produced by various studies of recombination rates, and this may be corroborated by looking at the level of discordance between published data from different groups using different methods.

Similarly, the 95% confidence bounds may be used for the estimates of the probability that each SNP is correctly called: p_(p), p_(m), p_(e). These numbers can be computed based on the actual measured array intensities included in the genotyping assay output files, combined with empirical data on the reliability of the measurement technique. Note that those NSNPs for which these parameters p_(p), p_(m) and p_(e) are not well established may be ignored. For example, since the diploid parental data is reliably measured, one may ignore NSNP measurements of the parents' haploid cells and on the embryo that do not correspond to any of the alleles on the relevant SNPs of the parent's diploid tissue.

Lastly, consider the assumptions about the likelihood of certain alleles within different population groups, which give rise to the computation P(s_(i)). These assumptions also will not have a large impact on the disclosed method since the measurement of the parental diploid data is reliable i.e. direct measurement of the state s_(i) from the parental samples typically result in data with high confidence. Nonetheless, it is possible to use the probability distribution for each w as described in Equation 8 in order to compute a confidence bound for the probability of each state P(s_(i)). As above, one may compute the 95% confidence bound for each P(s_(i)) in the conservative direction that reduces confidence measure P(correctly called SNP n).

The determination of P(correctly called SNP n) will inform the decision about how many NSNPs need to be measured around each PSNP in order to achieve the desired level of confidence.

Note that there are different approaches to implementing the concept of the disclosed method, namely combining the measurement of the parent's DNA, the measurement of the DNA of one or more embryos, and the a-priori knowledge of the process of meiosis, in order to obtain a better estimate of the embryonic SNPs. It will be clear to one skilled in the art, how similar methods can be applied when different subsets of the a-priori knowledge are known or not known, or known to a greater or lesser degree of certainty. For example, one can use the measurements of multiple embryos to improve the certainty with which one can call the SNPs of a particular embryo or to accommodate missing data from the parents. Note also that one does not need a PSNP of interest to be measured by the measurement technique. Even if that PSNPs is not determined by the measurement system, it can still be reconstructed with a high degree of confidence by the disclosed method.

Also note that once the points of crossover that occurred during meiosis have been determined, and the regions of the target genome have been mapped to the pertinent regions of the parental DNA, it is possible to infer not only the identity of individual SNPs of interest, but also whole regions of DNA that may be missing in the measured target genome due to allele drop-out or other errors in measurement. It is also possible to measure insertions and deletions in the parental DNA, and use the disclosed method to infer that they exist in the target DNA.

Various techniques may be used to improve the computational complexity of the disclosed algorithm described above. For example, one may only or predominantly select those NSNPs that differ between the mother and the father. Another consideration would be to only use NSNPs that are spaced nearby the PSNPs to minimize the chance of crossovers occurring between the NSNPs and PSNPs of interest. One could also use NSNPs that were spaced along the chromosome so as to maximize coverage of multiple PSNPs. Another consideration will be to initially use only a small number of NSNPs to determine roughly where crossovers occurred, and with only a limited degree of certainty. Additional NSNPs can then be used to refine the crossover model and increase the probability of correctly calling the PSNPs. The number of crossover combinations to consider scales roughly as N^(C) where N is the number of SNPs and C is the maximum number of crossovers. Consequently, for C=4 it is possible to accommodate roughly N=100 for each PSNP while remaining computationally tractable on a Pentium-IV processor. Using the approaches described above and other approaches for increased computational efficiency, N>100, C>4 can be easily accommodated. One such approach is described below.

Note that there are many other approaches to make a call on a PSNP and generate an estimate of the probability that a PSNPs has been correctly determined, based on a particular set of embryonic data, parent data, and algorithm used, without changing the underlying concept. This probability can be used for individual decision-making, and for implementing a reliable service in the context of IVF or NIPGD.

Recursive Solution to the Genetic Data Cleaning Algorithm

Another embodiment of the invention involving an algorithm that scales linearly is described here. Given the limited nature of computation power, the length of the computation may be a significant factor in the use of the disclosed method. When running computations, any algorithm that must compute certain values where the number of computations needed rises exponentially with the number of SNPs can become unwieldy. A solution that involves a number of calculations that increase linearly with the number of SNPs will always be preferred from a time standpoint as the number of SNPs gets large. Below this approach is described.

A simple approach, which is to consider all possible hypotheses must contend with the running time being an exponential function in number of SNPs. Suppose, as before, that measured data are a collection of measured embryo, father and mother chromosome measurements on k SNPs, i.e. M={M₁, . . . , M_(k)} where M_(i)=(e_(1i),e_(2i),p_(1i),p_(2i),m_(1i),m_(2i)). As before, the hypotheses space is S_(H)={H¹, . . . ,H^(q)}={set of all the hypotheses}, where each hypothesis is of the format H^(j)=(H^(j) ₁, . . . H^(j) _(k)) where H^(j) _(i) is the “mini” hypothesis for snip i, of the format H^(j) _(i)=(p_(i)*,m_(i)*) where p_(i)*ε{P_(1i),P_(2i)} and m_(i),* ε{m_(1i),m_(2i)}. There are 4 different “mini” hypotheses H_(j) _(i), in particular:

-   H^(j) _(i)1: (e_(1i),e_(2i))={(p_(1i),m_(1i)) or (m_(1i),p_(1i))};     H^(j) _(i)2: (e_(1i),e_(2i))={(p_(1i),m_(2i)) or (m_(2i),p_(1i))} -   H^(j) _(i)3: (e_(1i),e_(2i))={(p_(2i),m_(1i)) or (m_(1i),p_(2i))};     H^(j) _(i)4: (e_(1i),e_(2i))={(p_(2i),m_(2i)) or (m_(2i),p_(2i))} -   The goal is to choose the most likely hypothesis H* as: -   H=arg max_(HεS) _(H) P(H|M)=arg max_(HεS) _(H) F(M,H) where function     F(M,H)=P(H|M)

There are 4^(k) different hypotheses in the space S^(H). By trying to find the best hypothesis by exhaustively exploring the entire space S^(H), the necessary algorithm would be of exponential order in k O(exp(k)), where k is the number of SNPs involved. For large k, even k>5, this is immensely slow and unpractical. Therefore, it is more practical to resort to a recursive solution which solves the problem of size k as a function of the problem of size (k-1) in constant time. The solution shown here is of the linear order in k, O(k).

Recursive Solution Linear in the Number of SNPs

Begin with F(M,H)=P(H|M)=P(M|H)*P(H)/P(M). Then argmax_(H) F(M,H)=argmax_(H) P(M|H)*P(H) and the goal is to solve P(M|H)*P(H) in linear time. Suppose that M_((s,k))=measurement on SNPs s to k, H_((s,k))=hypothesis on SNPs s to k, and to simplify notation M_((k,k))=M_(k), H_((k,k))=H_(k)=measurement and hypothesis on SNP k. As shown before: $\begin{matrix} {{P\left( {M_{({1,k})}\text{❘}H_{({1,k})}} \right)} = {\prod\limits_{i = 1}^{k}{P\left( {M_{i}\text{❘}H_{i}} \right)}}} \\ {= {{P\left( {M_{k}\text{❘}H_{k}} \right)}*{\prod\limits_{i = 1}^{k - 1}{P\left( {M_{i}\text{❘}H_{i}} \right)}}}} \\ {= {{P\left( {M_{k}\text{❘}H_{k}} \right)}*{P\left( {M_{({1,{k - 1}})}\text{❘}H_{({1,{k - 1}})}} \right)}}} \end{matrix}$ Also: $\begin{matrix} {{P\left( H_{({1,k})} \right)} = {{1/4}*{\prod\limits_{i = 2}^{k}{{PF}\left( {H_{i - 1},H_{i}} \right)}}}} \\ {= {{{PF}\left( {H_{k - 1},H_{k}} \right)}*{1/4}*{\prod\limits_{i = 2}^{k - 1}{{PF}\left( {H_{i - 1},H_{i}} \right)}}}} \\ {= {{{PF}\left( {H_{k - 1},H_{k}} \right)}*{P\left( H_{({1,{k - 1}})} \right)}}} \end{matrix}$ ${{where}\quad{{PF}\left( {H_{i - 1},H_{i}} \right)}} = \left\{ \begin{matrix} {1 - {{PC}\left( {H_{i - 1},H_{i}} \right)}} & {H_{i - 1} = H_{i}} \\ {{PC}\left( {H_{i - 1},H_{i}} \right)} & {H_{i - 1} \neq H_{i}} \end{matrix} \right.$ and PC(H_(i-1),H_(i))=probability of crossover between H_(i-1), H_(i)

Finally, for k SNPs: F(M,H)=P(M|H)*P(H)=P(M _((1,k)) |H _((1,k)))*P(H _((1,k)) =P(M _((1,k-1)) |H _((1,k-1)))*P(H _((1,k-1)))*P(M _(k) |H _(k))*PF(H _(k-1) , H _(k))

-   so in short F(M,H)=F(M_((1,k)), H_((1,k)))=F(M_((1,k-1)),     H_((1,k-1)))*P(M_(k)|H_(k))*PF(H_(k-1), H_(k)) i.e. we can reduce     the calculation of F on k SNPs to the calculation of F on k-1 SNPs.

For H=(H₁, . . . H_(k)), the hypothesis on k SNPs: $\begin{matrix} {{\max\limits_{H}{F\left( {M,H} \right)}} = {\max\limits_{({H_{({1,{k - 1}})},H_{k}})}{F\left( {M,\left( {H_{({1,{k - 1}})},H_{k}} \right)} \right.}}} \\ {= {\max\limits_{H_{k}}{\max\limits_{H_{({1,{k - 1}})}}{F\left( {M,\left( {H_{({1,{k - 1}})},H_{k}} \right)} \right.}}}} \\ {= {\max\limits_{H_{k}}{G\left( {M_{({1,k})},H_{k}} \right)}}} \end{matrix}$ where $\begin{matrix} {{G\left( {M_{({1,n})},H_{n}} \right)} = {\max\limits_{H_{({1,{n - 1}})}}{F\left( {M_{({1,n})},\left( {H_{({1,{n - 1}})},H_{n}} \right)} \right.}}} \\ {= {\max\limits_{H_{({1,{n - 1}})}}{{F\left( {M_{({1,{n - 1}})},H_{({1,{n - 1}})}} \right)}*{P\left( {M_{n}\text{❘}H_{n}} \right)}*{{PF}\left( {H_{n - 1},H_{n}} \right)}}}} \\ {= {{P\left( {M_{n}\text{❘}H_{n}} \right)}*{\max\limits_{H_{({1,{n - 1}})}}\quad{{F\left( {M_{({1,{n - 1}})},H_{({1,{n - 1}})}} \right)}*{{PF}\left( {H_{n - 1},H_{n}} \right)}}}}} \\ {= {{P\left( {M_{n}\text{❘}H_{n}} \right)}*{\max\limits_{H_{n - 1}}\quad{\max\limits_{H_{({1,{n - 2}})}}\quad{F\left( {M_{({1,{n - 1}})},{\left( {H_{({1,{n - 2}})},H_{n - 1}} \right)*}} \right.}}}}} \\ {{PF}\left( {H_{n - 1},H_{n}} \right)} \\ {= {{P\left( {M_{n}\text{❘}H_{n}} \right)}*{\max\limits_{H_{n - 1}}\quad{{{PF}\left( {H_{n - 1},H_{n}} \right)}*{G\left( {M_{({1,{n - 1}})},H_{n - 1}} \right)}}}}} \end{matrix}$

To summarize this: ${\max\limits_{H}\quad{F\left( {M,H} \right)}} = {\max\limits_{H_{n}}\quad{G\left( {M_{({1,k})},H_{k}} \right)}}$ where G can be found recursively: for n=2, . . . , k ${G\left( {M_{({1,n})},H_{n}} \right)} = {{P\left( {M_{n}\text{❘}H_{n}} \right)}*{\max\limits_{H_{n - 1}}\quad\left\lfloor {{{PF}\left( {H_{n - 1},H_{n}} \right)}*{G\left( {M_{({1,{n - 1}})},H_{n - 1}} \right)}} \right\rfloor}}$   and  G(M_((1, 1)), H₁) = 0.25 * P(M₁❘H₁)

The algorithm is as follows:

-   For n=1: Generate 4 hypotheses H₁i, calculate G(M₁|H₁i) for i=1, . .     . , 4. -   For n=2: Generate 4 hypothesis for H₂i, calculate G(M_((1,2))|H₂i)     ,i=1, . . . , 4 in constant time using the formula:     ${G\left( {M_{({1,2})},{H_{2}i}} \right)} = {{P\left( {M_{2}\text{❘}H_{2}i} \right)}*{\max\limits_{{j = 1},\ldots\quad,4}\left\lbrack {{{PF}\left( {H_{1},{H_{2}i}} \right)}*{G\left( {M_{1},{H_{1}j}} \right)}} \right\rbrack}}$     For n=k: Generate 4 hypothesis for H_(k)i, make G(M_((1,k))|H_(k)i),     i=1, . . . , 4 by     ${G\left( {M_{({1,k})},{H_{k}\quad i}} \right)} = {{P\left( {M_{k}\text{❘}H_{k}i} \right)}*{\max\limits_{{j = 1},\ldots\quad,\quad 4}\left\lfloor {{{PF}\left( {H_{k - 1},{H_{k}\quad i}} \right)}*{G\left( {M_{({1,{k - 1}})},{H_{k - 1}\quad j}} \right)}} \right\rfloor}}$     At any time there are only 4 hypotheses to remember and a constant     number of operations. So the algorithm is linear in k, number of     SNPs, as opposed to exponential.     Solving P(AA) in Linear Time

It is not necessary to solve for P(M) to get the best hypothesis, since it is constant for all H. But in order to get the actual, meaningful number for the conditional probability P(H|M)=P(M|H)*P(H)/P(M), it is also necessary to derive P(M). As above, we can write: $\begin{matrix} {\quad{{P(M)} = {P\left( M_{({1,k})} \right)}}} \\ {= {\sum\limits_{H_{({1,k})}}{{P\left( {M_{({1,k})}\text{❘}H_{({1,k})}} \right)}*{P\left( H_{({1,k})} \right)}}}} \\ {= {\sum\limits_{H_{k}}{{P\left( {M_{K}\text{❘}H_{k}} \right)}{\sum\limits_{H_{({1,{k - 1}})}}{{P\left( {M_{({1,{k - 1}})}\text{❘}H_{({1,{k - 1}})}} \right)}*}}}}} \\ {{P\left( H_{({1,{k - 1}})} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}} \\ {= {\sum\limits_{H_{k}}{{P\left( {M_{K}\text{❘}H_{k}} \right)}*{W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)}}}} \end{matrix}$ ${{where}\quad{W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)}} = {\sum\limits_{H_{({1,{k - 1}})}}{{P\left( {M_{({1,{k - 1}})}\text{❘}H_{({1,{k - 1}})}} \right)}*{P\left( H_{({1,{k - 1}})} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}}}$ We can solve for W(M,H) by recursion: $\begin{matrix} {{W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)} = {\sum\limits_{H_{({1,{k - 1}})}}{{P\left( {M_{({1,{k - 1}})}\text{❘}H_{({1,{k - 1}})}} \right)}*{P\left( H_{({1,{k - 1}})} \right)}*}}} \\ {{PF}\left( {H_{k - 1},H_{k}} \right)} \\ {= {\sum\limits_{H_{k - 1}}{{P\left( {M_{k - 1}\text{❘}H_{k - 1}} \right)}{\sum\limits_{H_{({1,{k - 2}})}}{{P\left( {M_{({1,{k - 2}})}\text{❘}H_{({1,{k - 2}})}} \right)}*}}}}} \\ {{P\left( H_{({1,{k - 2}})} \right)}*{{PF}\left( {H_{k - 2},H_{k - 1}} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}} \\ {= {\sum\limits_{H_{k - 1}}{{P\left( {M_{k - 1}\text{❘}H_{k - 1}} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}*}}} \\ {W\left( {M_{({1,{k - 2}})}\text{❘}H_{k - 1}} \right)} \end{matrix}$ so in short, problem of size k is reduced to the problem of size (k-1) by ${W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)} = {\sum\limits_{H_{k - 1}}{{P\left( {M_{k - 1}\text{❘}H_{k - 1}} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}*{W\left( {M_{({1,{k - 2}})}\text{❘}H_{k - 1}} \right)}}}$ ${{and}\quad{W\left( {M_{({1,1})}\text{❘}H_{2}} \right)}} = {\sum\limits_{H_{1}}{{P\left( {M_{1}\text{❘}H_{1}} \right)}*0.25*{{PF}\left( {H_{1},H_{2}} \right)}}}$

As before, for n=2:k, generate W(2), . . . ,W(K)=W(M_((1,k-1))|H_(k)) recursively, until finally, it is possible to derive ${P(M)} = {\sum\limits_{H_{k}}{{P\left( {M_{K}\text{❘}H_{k}} \right)}*{{W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)}.}}}$

At each level there are only four different hypotheses H_(k), so the algorithm is again linear in the number of SNPs k.

Individual SNP confidence in Linear Time

Once we the best hypothesis H*=(H₁*, . . . , H_(k)*), has been computed, it is now may be desired to derive the confidence in the final answer for each SNP, namely P(H_(i)*|M), for i=1, . . . , k. As before P(H_(i)*|M)=P(M|H_(i)*)P(H_(i)*)/P(M)=W(H_(i)*,M)/P(M), where P(M) is already known. ${{W\left( {M,H_{i}^{*}} \right)} = {{\sum\limits_{H,{H_{i} = H_{i}^{*}}}{{P\left( {M\text{❘}H} \right)}*{P(H)}}} = {\sum\limits_{H = {({H_{({1,{j - 1}})},H_{i}^{*},H_{({{i + 1},k})}})}}{{P\left( {M\text{❘}H} \right)}*{P(H)}}}}},$ i.e. hypothesis H has been broken up to the hypothesis on first i−1 SNPs, ith SNP, and hypothesis on the i+1 to kth SNP. As before: $\begin{matrix} {{P\left( {M_{({1,k})}\text{❘}H_{({1,k})}} \right)} = {\prod\limits_{j = 1}^{k}{P\left( {M_{j}\text{❘}H_{j}} \right)}}} \\ {= {\prod\limits_{j = 1}^{i - 1}{{P\left( {M_{j}\text{❘}H_{j}} \right)}*{P\left( {M_{i}\text{❘}H_{i}^{*}} \right)}*{\prod\limits_{j = {i + 1}}^{k}{{P\left( {M_{j}\text{❘}H_{j}} \right)}\quad{and}}}}}} \\ {{= {{P\left( {M_{({1,{i - 1}})}\text{❘}H_{({1,{i - 1}})}} \right)}*{P\left( {M_{i}\text{❘}H_{i}^{*}} \right)}*{P\left( {M_{({{i + 1},k})}\text{❘}H_{({{i + 1},k})}} \right)}}}\begin{matrix} {{P\left( H_{({1,k})} \right)} = {{1/4}*{\prod\limits_{j = 2}^{k}{{PF}\left( {H_{j - 1},H_{j}} \right)}}}} \\ {= {{1/4}*{\prod\limits_{j = 2}^{i - 1}{{{PF}\left( {H_{j - 1},H_{j}} \right)}*{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}*}}}} \\ {{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}*{\prod\limits_{j = {j + 2}}^{k}{{PF}\left( {H_{j - 1},H_{j}} \right)}}} \\ {= {{1/4}*{T\left( H_{({1,{i - 1}})} \right)}*{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}*}} \\ {{{PF}\left( {H_{i - 1},H_{i}} \right)},{*{T\left( H_{({{i + 1},k})} \right)}}} \end{matrix}\begin{matrix} {{{So}\quad{P\left( H_{({1,k})} \right)}} = {{1/4}*{T\left( H_{({1,k})} \right)}}} \\ {= {{1/4}*{T\left( H_{({1,{i - 1}})} \right)}*{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}*}} \\ {{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}*{T\left( H_{({{i + 1},k})} \right)}} \end{matrix}{{{where}\quad{T\left( H_{({1,k})} \right)}} = {\prod\limits_{j = 2}^{k}{{{PF}\left( {H_{j - 1},H_{j}} \right)}.}}}} \end{matrix}$ From this it is possible to show that $\begin{matrix} {{W\left( {M_{({1,k})},H_{i}^{*}} \right)} = {\sum\limits_{H,{H_{i} = H_{i}^{*}}}{{P\left( {M\text{❘}H} \right)}*{P(H)}}}} \\ {= {\sum\limits_{H,{H_{i} = H_{i}^{*}}}{{P\left( {M\text{❘}H} \right)}*{1/4}*{T(H)}}}} \\ {= {\sum\limits_{H = {({H_{({1,{i - 1}})},H_{i}^{*},H_{({{i + 1},k})}})}}{{P\left( {M_{({1,{i - 1}})}\text{❘}H_{({1,{i - 1}})}} \right)}*{P\left( {M_{i}\text{❘}H_{i}^{*}} \right)}*}}} \\ {{P\left( {M_{({{i + 1},k})}\text{❘}H_{({{i + 1},k})}} \right)}*{1/4}*{T\left( H_{({1,{i - 1}})} \right)}*} \\ {{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}*{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}*{T\left( H_{({{i + 1},k})} \right)}} \\ {= {4*{P\left( {M_{i}\text{❘}H_{i}^{*}} \right)}*\begin{pmatrix} {\sum\limits_{H_{i - 1}}{P\left( {M_{({1,{i - 1}})}\text{❘}H_{({1,{i - 1}})}} \right)*{1/4}*}} \\ {{T\left( H_{({1,{i - 1}})} \right)}*{{PF}\left( {H_{i - 1},H_{i}^{*}} \right)}} \end{pmatrix}*}} \\ {\begin{pmatrix} {\sum\limits_{H_{i + 1}}{P\left( {M_{({{i + 1},k})}\text{❘}H_{({{i + 1},k})}} \right)*{1/4}*T\left( H_{({{i + 1},k})} \right)*}} \\ {{PF}\left( {H_{i}^{*},H_{i + 1}} \right)} \end{pmatrix}} \\ {= {4*{P\left( {M_{i}\text{❘}H_{i}^{*}} \right)}*\begin{pmatrix} {\sum\limits_{H_{i - 1}}{W\left( {M_{({1,{i - 1}})},H_{i - 1}} \right)*}} \\ {{PF}\left( {H_{i - 1},H_{i}^{*}} \right)} \end{pmatrix}*}} \\ {\begin{pmatrix} {\sum\limits_{H_{i + 1}}{W\left( {M_{({{i +},k})},H_{i + 1}} \right)*}} \\ {{PF}\left( {H_{i}^{*},H_{i + 1}^{*}} \right)} \end{pmatrix}} \end{matrix}$

Again a case of size k has been reduced to two pieces of smaller size, albeit a bit more complicated than before. Each of the pieces can be calculated as ${W\left( {M_{({1,n})},H_{n}} \right)} = {{P\left( {M_{n}\text{❘}H_{n}} \right)}*\begin{pmatrix} {\sum\limits_{H_{n - 1}}{W\left( {M_{({1,{n - 1}})},H_{n - 1}} \right)*}} \\ {{PF}\left( {H_{n - 1},H_{n}} \right)} \end{pmatrix}}$ ${W\left( {M_{({m,k})},H_{m}} \right)} = {{P\left( {M_{m}\text{❘}H_{m}} \right)}*\begin{pmatrix} {\sum\limits_{H_{m + 1}}{W\left( {M_{({{m + 1},k})},H_{m + 1}} \right)*}} \\ {{PF}\left( {H_{m},H_{m + 1}} \right)} \end{pmatrix}}$ So the algorithm will, for n=1, . . . , k, m=k, . . . 1, for each of 4 different H_(n), H_(m) calculate W(M_((1,n)),H_(n)),W(M_((m,k)),H_(m)) and then combine them as needed to calculate W(M_((1,k)),H_(i)*), for i=1, . . . ,k. The number of operations is still linear in k. Application of the Disclosed Method to Embryonic Data when a Smaller or Different Set of Data is Available

In one embodiment of the system it is only necessary to make use of diploid data from one parent (presumably the mother), with or without haploid data from either or both of the parents, and when that data is known to a greater or lesser degree of certainty. For example it is expected that, given the grueling nature of egg donation, there will be occasions when maternal haploid data is not readily available. It will be clear to one skilled in the art, after reading this description, how the statistical methods for computing the likelihood of a particular SNP can be modified given a limited data set.

An alternative approach uses data from more distant relatives to make up for missing diploid or haploid data of one or both parents. For example, since it is known that one set of an individual's chromosomes come from each of his or her parents, diploid data from the maternal grandparents could be used to partially reconstruct missing or poorly measured maternal haploid data.

Note the recursive nature of this method: given the naturally noisy measurement of single cell parental haploid data, along with the diploid and/or haploid data of the appropriate grandparents, the disclosed method could be used to clean the parental haploid data, which in turn will provide more accurate genotyping of the embryo. It should be obvious to one skilled in the arts how to modify the method for use in these cases.

It is preferable to use more information rather than less, as this can increase the chances of making the right call at a given SNP, and can increase the confidence in those calls. This must be balanced with the increasing complexity of the system as additional techniques and sources of data are used. There are many sources of additional information, as well as techniques available to use the information to augment the data. For example, there are informatics based approaches which take advantage of correlations which can be found in Hapmap data, or other repositories of genomic data. In addition there are biological approaches which can allow for the direct measurement of genetic data that otherwise would need to be recreated in silico. For example, haploid data otherwise unavailable may be measureable by extracting individual chromosomes from diploid cells using flow cytometry techniques to isolate fluorescently tagged chromosomes. Alternately, one may use cell fusion to create monoallelic hybrid cells to effect diploid to haploid conversion.

Application of the Disclosed Method to Selecting which Embryo is likely to Implant

In one embodiment, the system can be used to determine the likelihood of an embryo to implant in the mother and develop into a baby. To the extent that the likelihood of the embryo implanting is determined by SNPs of the embryo, and/or their relation to SNPs of the mother, the disclosed method will be important in helping the selection of embryos, based on making a reliable prediction of which will successfully implant based on the clean SNP data. To best predict the likelihood it will be necessary to take into account the determined genotype of the embryo possibly combined with the levels of gene expression in the embryo, the levels of gene expression in the mother, and/or the determined genotype of the mother.

In addition, it is well known that aneuploid embryos are less likely to implant, less likely to result in a successful pregnancy, and less likely to result in a healthy child. Consequently, screening for aneuploides is an important facet to selecting the embryo that is most likely to result in a successful outcome. More detail on this approach is given below.

Deducing Parental Haploid Data

In one embodiment of the method, it may be necessary to deduce parental haplotypes, given detailed knowledge of the diploid data of a parent. There are multiple ways this can be done. In the simplest case, haplotypes have already been inferred by molecular assay of single haploid cells of a direct relation (mother, father, son or daughter). In this case, it is a trivial matter to one skilled in the art to deduce the sister haplotype by subtracting the known haplotype from the diploid genotype measured by molecular assay. For example, if a particular locus is heterozygous, an unknown parental haplotype is the opposite allele from the known parental haplotype.

In another case, the noisy haploid data of the parent may be known from molecular biological haplotyping of individual parental haploid cells, such as a sperm cell, or from individual chromosomes, which may be isolated by various methods including magnetic beads and flow cytometry. In this case, the same procedure can be used as above, except that the determined haplotype will be as noisy as the measured haplotype.

There are also methods for deducing haploid data sets directly from diploid data, using statistical methods that utilize known haplotype blocks in the general population (such as those created for the public Hapmap project). A haplotype block is essentially a series of correlated alleles that occur repeatedly in a variety of populations. Since these haplotype blocks are often ancient and common, they may be used to predict haplotypes from diploid genotypes. The parents' inferred haplotype blocks can then be used as input for the method described herein to clean the noisy data from the embryos. Publicly available algorithms that would accomplish this task include an imperfect phylogeny approach, Bayesian approaches based on conjugate priors, and priors from population genetics. Some of these algorithms use hidden Markov models. One study used public trio and unrelated individual data to demonstrate that these algorithms perform with error rates as low as 0.05% across 1MB of sequence. However, as expected, accuracy is lower for individuals with rare haplotype blocks. In one estimate, computational methods failed to phase as many as 5.1% of loci with minor allele frequency of 20%.

In one embodiment of the invention, genetic data from multiple blastomeres taken from different embryos during an IVF cycle is used to infer the haplotype blocks of the parents with greater reliability.

Techniques for Screening for Aneuploidy using High and Medium Throughput Genotyping

In one embodiment of the system the measured genetic data can be used to detect for the presence of aneuploides and/or mosaicism in an individual. Disclosed herein are several methods of using medium or high-throughput genotyping to detect the number of chromosomes or DNA segment copy number from amplified or unamplified DNA from tissue samples. The goal is to estimate the reliability that can be achieved in detecting certain types of aneuploidy and levels of mosaicism using different quantitative and/or qualitative genotyping platforms such as ABI Taqman, MIPS, or Microarrays from Illumina, Agilent and Affymetrix. In many of these cases, the genetic material is amplified by PCR before hybridization to probes on the genotyping array to detect the presence of particular alleles. How these assays are used for genotyping is described elsewhere in this disclosure.

Described below are several methods for screening for abnormal numbers of DNA segments, whether arising from deletions, aneuploides and/or mosaicism. The methods are grouped as follows: (i) quantitative techniques without making allele calls; (ii) qualitative techniques that leverage allele calls; (iii) quantitative techniques that leverage allele calls; (iv) techniques that use a probability distribution function for the amplification of genetic data at each locus. All methods involve the measurement of multiple loci on a given segment of a given chromosome to determine the number of instances of the given segment in the genome of the target individual. In addition, the methods involve creating a set of one or more hypotheses about the number of instances of the given segment; measuring the amount of genetic data at multiple loci on the given segment; determining the relative probability of each of the hypotheses given the measurements of the target individual's genetic data; and using the relative probabilities associated with each hypothesis to determine the number of instances of the given segment. Furthermore, the methods all involve creating a combined measurement M that is a computed function of the measurements of the amounts of genetic data at multiple loci. In all the methods, thresholds are determined for the selection of each hypothesis Hi based on the measurement M, and the number of loci to be measured is estimated, in order to have a particular level of false detections of each of the hypotheses.

The probability of each hypothesis given the measurement M is P(H_(i)|M)=P(M|H_(i))P(H_(i))/P(M). Since P(M) is independent of H_(i), we can determine the relative probability of the hypothesis given M by considering only P(M|H_(i))P(H_(i)). In what follows, in order to simplify the analysis and the comparison of different techniques, we assume that P(H_(i)) is the same for all {H_(i)}, so that we can compute the relative probability of all the P(H_(i)|M) by considering only P(M|H_(i)). Consequently, our determination of thresholds and the number of loci to be measured is based on having particular probabilities of selecting false hypotheses under the assumption that P(H_(i)) is the same for all {H_(i)}. It will be clear to one skilled in the art after reading this disclosure how the approach would be modified to accommodate the fact that P(H_(i)) varies for different hypotheses in the set {H_(i)}. In some embodiments, the thresholds are set so that hypothesis H_(i)* is selected which maximizes P(H_(i)|M) over all i. However, thresholds need not necessarily be set to maximize P(H_(i)|M), but rather to achieve a particular ratio of the probability of false detections between the different hypotheses in the set {H_(i)}.

It is important to note that the techniques referred to herein for detecting aneuploides can be equally well used to detect for uniparental disomy, unbalanced translocations, and for the sexing of the chromosome (male or female; XY or XX). All of the concepts concern detecting the identity and number of chromosomes (or segments of chromosomes) present in a given sample, and thus are all addressed by the methods described in this document. It should be obvious to one skilled in the art how to extend any of the methods described herein to detect for any of these abnormalities.

The Concept of Matched Filtering

The methods applied here are similar to those applied in optimal detection of digital signals. It can be shown using the Schwartz inequality that the optimal approach to maximizing Signal to Noise Ratio (SNR) in the presence of normally distributed noise is to build an idealized matching signal, or matched filter, corresponding to each of the possible noise-free signals, and to correlate this matched signal with the received noisy signal. This approach requires that the set of possible signals are known as well as the statistical distribution—mean and Standard Deviation (SD)—of the noise. Herein is described the general approach to detecting whether chromosomes, or segments of DNA, are present or absent in a sample. No differentiation will be made between looking for whole chromosomes or looking for chromosome segments that have been inserted or deleted. Both will be referred to as DNA segments. It should be clear after reading this description how the techniques may be extended to many scenarios of aneuploidy and sex determination, or detecting insertions and deletions in the chromosomes of embryos, fetuses or born children. This approach can be applied to a wide range of quantitative and qualitative genotyping platforms including Taqman, qPCR, Illumina Arrays, Affymetrix Arrays, Agilent Arrays, the MIPS kit etc.

Formulation of the General Problem

Assume that there are probes at SNPs where two allelic variations occur, x and y. At each locus i, i=1. . . N, data is collected corresponding to the amount of genetic material from the two alleles. In the Taqman assay, these measures would be, for example, the cycle time, C_(t), at which the level of each allele-specific dye crosses a threshold. It will be clear how this approach can be extended to different measurements of the amount of genetic material at each locus or corresponding to each allele at a locus. Quantitative measurements of the amount of genetic material may be nonlinear, in which case the change in the measurement of a particular locus caused by the presence of the segment of interest will depend on how many other copies of that locus exist in the sample from other DNA segments. In some cases, a technique may require linear measurements, such that the change in the measurement of a particular locus caused by the presence of the segment of interest will not depend on how many other copies of that locus exist in the sample from other DNA segments. An approach is described for how the measurements from the Taqman or qPCR assays may be linearized, but there are many other techniques for linearizing nonlinear measurements that may be applied for different assays.

The measurements of the amount of genetic material of allele x at loci 1 . . . N is given by data d_(x)=[d_(x1) . . . d_(xN)]. Similarly for allele y, d_(y)=[d_(y1) . . . d_(yN)]. Assume that each segment j has alleles a_(j)=[a_(j1) . . . a_(jN)] where each element a_(ji) is either x or y. Describe the measurement data of the amount of genetic material of allele x as d_(x)=s_(x)+ν_(x) where s_(x) is the signal and ν_(x) is a disturbance. The signal s_(x)=[f_(x)(a_(l1), . . . , a_(J1)) . . . f_(x)(a_(JN), . . . , a_(JN))] where f_(x) is the mapping from the set of alleles to the measurement, and J is the number of DNA segment copies. The disturbance vector ν_(x) is caused by measurement error and, in the case of nonlinear measurements, the presence of other genetic material besides the DNA segment of interest. Assume that measurement errors are normally distributed and that they are large relative to disturbances caused by nonlinearity (see section on linearizing measurements) so that ν_(xi)≈n_(xi) where n_(xi) has variance σ_(xi) ² and vector nx is normally distributed —N(O,R), R=E(n_(x)n_(x) ^(T)). Now, assume some filter h is applied to this data to perform the measurement m_(x)=h^(T)d^(x)=h^(T)s_(x)+h^(T)ν_(x). In order to maximize the ratio of signal to noise (h^(T)s_(x)/h^(T)n_(x)) it can be shown that h is given by the matched filter h=νR⁻¹s_(x) where ν is a scaling constant. The discussion for allele x can be repeated for allele y.

Method 1a: Measuring Aneuploidy or Sex by Quantitative Techniques that Do Not Make Allele Calls When the Mean and Standard Deviation for Each Locus is Known

Assume for this section that the data relates to the amount of genetic material at a locus irrespective of allele value (e.g. using qPCR), or the data is only for alleles that have 100% penetrance in the population, or that data is combined on multiple alleles at each locus (see section on linearizing measurements) ) to measure the amount of genetic material at that locus. Consequently, in this section one may refer to data d_(x) and ignore d_(y). Assume also that there are two hypotheses: h₀ that there are two copies of the DNA segment (these are typically not identical copies), and h_(i) that there is only 1 copy. For each hypothesis, the data may be described as d_(xi)(h₀)=s_(xi)(h₀)+n_(xi) and d_(xi)(h_(i))=s_(xi)(h₁)+n_(xi) respectively, where s_(xi)(h₀) is the expected measurement of the genetic material at locus i (the expected signal) when two DNA segments are present and s_(xi)(h₁) is the expected data for one segment. Construct the measurement for each locus by differencing out the expected signal for hypothesis h₀: m_(xi)=d_(xi)-s_(xi)(h₀). If h₁ is true, then the expected value of the measurement is E(m_(xi))=s_(xi)(h_(i))−s_(xi)(h₀). Using the matched filter concept discussed above, set h=(1/N)R⁻¹(s_(xi)(h₁)−s_(xi)(h₀)). The measurement is described as m=h^(T)d_(x)=(1/N)Σ_(i)=_(i=1 . . . N)((s_(xi)(h₁)−s_(xi)(h₀))/σ_(xi) ²)m_(xi).

If h₁ is true, the expected value of E(m|h₁)=m₁=(1/N)Σ_(i=1 . . . N)(s_(xi)(h₁)−s_(xi)(h₀))²/σ_(xi) ² and the standard deviation of m is σ_(m|h1) ²=(1/N²)Σ_(i=1 . . . N)((s_(xi)(h₁)−s_(xi)(h₀))²/σ_(xi) ⁴)σ_(xi) ²=(1/N²)Σ_(i=1 . . . N)(s_(xi)(h₁)−s_(xi)(h₀))²/(σ_(xi) ².

If h₀ is true, the expected value of m is E(m|h₀)=m₀=0 and the standard deviation of m is again σ_(m|h0) ²=(1/N²)Σ_(i=1 . . . N)(s_(xi)(h₁)−s_(xi)(h₀))²/(σ_(xi) ².

FIG. 3 illustrates how to determine the probability of false negatives and false positive detections. Assume that a threshold t is set half-way between m₁ and m₀ in order to make the probability of false negatives and false positives equal (this need not be the case as is described below). The probability of a false negative is determined by the ratio of (m₁-t)/σ_(m|h1)=(m₁−m₀)/(2σ_(m|h1)). “5-Sigma” statistics may be used so that the probability of false negatives is 1-normcdf(5,0,1)=2.87e-7. In this case, the goal is for (m₁−m₀)/(2σ_(m|h0))>5 or 10sqrt((1/N²)Σ_(i=1 . . . N)(s_(xi)(h₁)−s_(xi)(h₀))²/σ_(xi) ²)<(1/N)Σ_(i=1 . . . N)(s_(xi)(h₁)−s_(xi)(h₀))²/σ_(xi) ² or sqrt(Σ_(i=1 . . .N)(s_(xi)(h₁−s_(xi)(h₀))²/(σ_(xi) ²)>10. In order to compute the size of N, Mean Signal to Noise Ratio can be computed from aggregated data: MSNR=(1/N)Σ_(i=1 . . . N)(s_(xi)(h₁)−s_(xi)(h₀))²/σ_(xi) ². N can then be found from the inequality above: sqrt(N).sqrt(MSNR)>10 or N>100/MSNR.

This approach was applied to data measured with the Taqman Assay from Applied BioSystems using 48 SNPs on the X chromosome. The measurement for each locus is the time, C_(t), that it takes the die released in the well corresponding to this locus to exceed a threshold. Sample 0 consists of roughly 0.3 ng (50 cells) of total DNA per well of mixed female origin where subjects had two X chromosomes; sample 1 consisted of roughly 0.3 ng of DNA per well of mixed male origin where subject had one X chromosome. FIG. 4 and FIG. 5 show the histograms of measurements for samples 1 and 0. The distributions for these samples are characterized by m₀=29.97; SD₀=1.32, m₁=31.44, SD₁=1.592. Since this data is derived from mixed male and female samples, some of the observed SD is due to the different allele frequencies at each SNP in the mixed samples. In addition, some of the observed SD will be due to the varying efficiency of the different assays at each SNP, and the differing amount of dye pipetted into each well. FIG. 6 provides a histogram of the difference in the measurements at each locus for the male and female sample. The mean difference between the male and female samples is 1.47 and the SD of the difference is 0.99. While this SD will still be subject to the different allele frequencies in the mixed male and female samples, it will no longer be affected the different efficiencies of each assay at each locus. Since the goal is to differentiate two measurements each with a roughly similar SD, the adjusted SD may be approximated for each measurement for all loci as 0.99/sqrt(2)=0.70. Two runs were conducted for every locus in order to estimate σ_(xi) for the assay at that locus so that a matched filter could be applied. A lower limit of σ_(xi) was set at 0.2 in order to avoid statistical anomalies resulting from only two runs to compute σ_(xi. Only those loci (numbering) 37) for which there were no allele dropouts over both alleles, over both experiment runs and over both male and female samples were used in the plots and calculations. Applying the approach above to this data, it was found that MSNR=2.26, hence N=2²5²/2.26ˆ=17 loci.

Method 1b: Measuring Aneuploidy or Sex by Quantitative Techniques that Do Not Make Allele Calls When the Mean and Std. Deviation is Not Known or is Uniform

When the characteristics of each locus are not known well, the simplifying assumptions that all the assays at each locus will behave similarly can be made, namely that E(m_(xi)) and σ_(xi) are constant across all loci i, so that it is possible to refer instead only to E(m_(x)) and σ_(x). In this case, the matched filtering approach m=h^(T)d, reduces to finding the mean of the distribution of d_(x). This approach will be referred to as comparison of means, and it will be used to estimate the number of loci required for different kinds of detection using real data.

As above, consider the scenario when there are two chromosomes present in the sample (hypothesis h₀) or one chromosome present (h₁). For ho, the distribution is N(μ₀,σ₀ ²) and for h₁ the distribution is N(μ₁,σ₁ ²). Measure each of the distributions using N₀ and N₁ samples respectively, with measured sample means and SDs m₁, m₀, s₁, and s₀. The means can be modeled as random variables M₀, M₁ that are normally distributed as M₀˜N(μ₀, σ₀ ²/N₀) and M₁˜N(μ₁, σ₁ ²/N₁). Assume N₁ and N₀ are large enough (>30) so that one can assume that M₁˜N(m₁, s₁ ²/N₁) and M₀˜N(m₀, s₀ ²/N₀). In order to test whether the distributions are different, the difference of the means test may be used, where d=m₁−m₀. The variance of the random variable D is σ_(d) ²⁼σ₁ ²/N₁+σ₀ ²/N₀ which may be approximated as σ_(d) ²⁼s₁ ²/N₁+s₀ ²/N₀. Given h₀, E(d)=0; given h₁, E(d)=μ₁−μ₀. Different techniques for making the call between h, for h₀ will now be discussed.

Data measured with a different run of the Taqman Assay using 48 SNPs on the X chromosome was used to calibrate performance. Sample 1 consists of roughly 0.3 ng of DNA per well of mixed male origin containing one X chromosome; sample 0 consisted of roughly 0.3 ng of DNA per well of mixed female origin containing two X chromosomes. N₁=42 and N₀=45. FIG. 7 and FIG. 8 show the histograms for samples 1 and 0. The distributions for these samples are characterized by m₁=32.259, s₁=1.460, σ_(m1)=s₁/sqrt(N₁)=0.225; m₀=30.75; s₀=1.202, σ_(m0)=s₀/sqrt(N₀)=0.179. For these samples d=1.509 and σ_(d)=0.2879.

Since this data is derived from mixed male and female samples, much of the standard deviation is due to the different allele frequencies at each SNP in the mixed samples. SD is estimated by considering the variations in C_(t) for one SNP at a time, over multiple runs. This data is shown in FIG. 9. The histogram is symmetric around 0 since C_(t) for each SNP is measured in two runs or experiments and the mean value of Ct for each SNP is subtracted out. The average std. dev. across 20 SNPs in the mixed male sample using two runs is s=0.597. This SD will be conservatively used for both male and female samples, since SD for the female sample will be smaller than for the male sample. In addition, note that the measurement from only one dye is being used, since the mixed samples are assumed to be heterozygous for all SNPs. The use of both dyes requires the measurements of each allele at a locus to be combined, which is more complicated (see section on linearizing measurements). Combining measurements on both dyes would double signal amplitude and increase noise amplitude by roughly sqrt(2), resulting in an SNR improvement of roughly sqrt(2) or 3 dB.

Detection Assuming No Mosaicism and No Reference Sample

Assume that m₀ is known perfectly from many experiments, and every experiment runs only one sample to compute ml to compare with m₀. N₁ is the number of assays and assume that each assay is a different SNP locus. A threshold t can be set half way between m₀ and m₁ to make the likelihood of false positives equal the number of false negatives, and a sample is labeled abnormal if it is above the threshold. Assume s₁=S₂=s=0.597 and use the 5-sigma approach so that the probability of false negatives or positives is 1-normcdf(5,0,1)=2.87e-7. The goal is for 5s₁/sqrt(N₁)<(m₁-m₀)/2, hence N₁=100 s₁ ²/(m₁-m₀)²=16. Now, an approach where the probability of a false positive is allowed to be higher than the probability of a false negatives, which is the harmful scenario, may also be used. If a positive is measured, the experiment may be rerun. Consequently, it is possible to say that the probability of a false negative should be equal to the square of the probability of a false positive. Consider FIG. 3, let t=threshold, and assume Sigma_(—)0=Sigma_(—)1=s. Thus (1-normcdf((t-m₀)/s,0,1))²=1-normcdf((m₁-t)/s,0,1). Solving this, it can be shown that t=m₀+0.32(m₁-m₀). Hence the goal is for 5s/sqrt(N₁)<m₁-m₀-0.32(m₁-m₀)=(m₁-m₀)/1.47, hence N₁=(5²)(1.47²)s²/(m₁-m₀)²=9.

Detection with Mosaicism without Running a Reference Sample

Assume the same situation as above, except that the goal is to detect mosaicism with a probability of 97.7% (i.e. 2-sigma approach). This is better than the standard approach to amnuiocentesis which extracts roughly 20 cells and photographs them. If one assumes that 1 in 20 cells is aneuploid and this is detected with 100% reliability, the probability of having at least one of the group being aneuploid using the standard approach is 1-0.952²⁰=64%. If 0.05% of the cells are aneuploid (call this sample 3) then m₃=0.95m₀+0.05m, and var(m₃) =(0.95s₀ ²+0.05s₁ ²)/N₁. Thus std(m₃)2<(m₃-m₀)/2=>sqrt(0.95s₀ ²+0.05s₁ ²)/sqrt(N₁)<0.05(m₁-m₂)/4=>N₁=16(0.95s ₂ ²+0.05s₁ ²)/(0.05²(m₁-m₂)²)=1001. Note that using the goal of 1-sigma statistics, which is still better than can be achieved using the conventional approach (i.e. detection with 84.1% probability), it can be shown in a similar manner that N₁=250.

Detection with No Mosaicism and Using a Reference Sample

Although this approach may not be necessary, assume that every experiment runs two samples in order to compare m₁ with truth sample m₂. Assume that N=N₀=N₀. Compute d=m₁-m₀ and, assuming σ₁=σ₀, set a threshold t=(m₀+m₁)/2 so that the probability of false positives and false negatives is equal. To make the probability of false negatives 2.87e-7, it must be the case that (m₁-m₂)/2>5sqrt(s₁ ²/N+s₂ ²/N)=>N=100(S₁ ²+s₂ ²)/(m1-m2)² =32.

Detection with Mosaicism and Running a Reference Sample

As above, assume the probability of false negatives is 2.3% (i.e. 2-sigma approach). If 0.05% of the cells are aneuploid (call this sample 3) then m₃=0.95m₀+0.05m₁ and var(m₃)=(0.95s₀ ²+0.05s₁ ²)/N₁, d=m₃-m₂ and σ_(d) ²=(1.95s₀ ²+0.05_(s) ₁ ²)/N. It must be that std(m₃)2<(m₀-m₂)/2=>sqrt(1.95s₂ ²+0.05s₁ ²)/sqrt(N)<0.05(m₁-m₂)/4=>N=16(1.95s₂ ²+0.05s₁ ²)/(0.05²(m₁-m₂)²)=2002. Again using 1-sigma approach, it can be shown in a similar manner that N=500.

Consider the case if the goal is only to detect 5% mosaicism with a probability of 64% as is the current state of the art. Then, the probability of false negative would be 36%. In other words, it would be necssary to find x such that 1-normcdf(x,0,1)=36%. Thus N=4(0.36ˆ2)(1.95s₂ ²+0.05s₁ ²)/(0.05²(m₁-m₂)²)=65 for the 2-sigma approach, or N=33 for the 1-sigma approach. Note that this would result in a very high level of false positives, which needs to be addressed, since such a level of false positives is not currently a viable alternative.

Also note that if N is limited to 384 (i.e. one 384 well Taqman plate per chromosome), and the goal is to detect mosaicism with a probability of 97.72%, then it will be possible to detect mosaicism of 8.1% using the 1-sigma approach. In order to detect mosaicism with a probability of 84.1% (or with a 15.9% false negative rate), then it will be possible to detect mosaicism of 5.8% using the 1-sigma approach. To detect mosaicism of 19% with a confidence of 97.72% it would require roughly 70 loci. Thus one could screen for 5 chromosomes on a single plate.

The summary of each of these different scenarios is provided in Table 1. Also included in this table are the results generated from qPCR and the SYBR assays. The methods described above were used and the simplifying assumption was made that the performance of the qPCR assay for each locus is the same. FIG. 10 and FIG. 11 show the histograms for samples 1 and 0, as described above. N₀=N₁=47. The distributions of the measurements for these samples are characterized by m₁=27.65, s_(1b =)1.40, σm₁=s₁/sqrt(N₁)=0.204; m₀=26.64; s₀=1.146, σm₀=s₀/sqrt(N₀)=0.167. For these samples d=1.01 and σ_(d)=0.2636. FIG. 12 shows the difference between C_(t) for the male and female samples for each locus, with a standard deviation of the difference over all loci of 0.75. The SD was approximated. for each measurement of each locus on the male or female sample as 0.75/sqrt(2)=0.53.

Method 2: Qualitative Techniques that use Allele Calls

In this section, no assumption is made that the assay is quantitative. Instead, the assumption is that the allele calls are qualitative, and that there is no meaningful quantitative data coming from the assays. This approach is suitable for any assay that makes an allele call. FIG. 13 describes how different haploid gametes form during meiosis, and will be used to describe the different kinds of aneuploidy that are relevant for this section. The best algorithm depends on the type of aneuploidy that is being detected.

Consider a situation where aneuploidy is caused by a third segment that has no section that is a copy of either of the other two segments. From FIG. 13, the situation would arise, for example, if p₁ and p₄, or p₂ and p₃, both arose in the child cell in addition to one segment from the other parent. This is very common, given the mechanism which causes aneuploidy. One approach is to start off with a hypothesis h₀ that there are two segments in the cell and what these two segments are. Assume, for the purpose of illustration, that ho is for p₃ and m₄ from FIG. 13. In a preferred embodiment this hypothesis comes from algorithms described elsewhere in this document. Hypothesis h, is that there is an additional segment that has no sections that are a copy of the other segments. This would arise, for example, if p₂ or m₁ was also present. It is possible to identify all loci that are homozygous in p₃ and m₄. Aneuploidy can be detected by searching for heterozygous genotype calls at loci that are expected to be homozygous.

Assume every locus has two possible alleles, x and y. Let the probability of alleles x and y in general be p_(x) and p_(y) respectively, and p_(x)+p_(y)=1. If h₁ is true, then for each locus i for which p₃ and m₄ are homozygous, then the probability of a non-homozygous call is p_(y) or p_(x), depending on whether the locus is homozygous in x or y respectively. Note: based on knowledge of the parent data, i.e. p₁, p₂, p₄ and m₁, m₂, m₃, it is possible to further refine the probabilities for having non-homozygous alleles x or y at each locus. This will enable more reliable measurements for each hypothesis with the same number of SNPs, but complicates notation, so this extension will not be explicitly dealt with. It should be clear to someone skilled in the art how to use this information to increase the reliability of the hypothesis.

The probability of allele dropouts is p_(d). The probability of finding a heterozygous genotype at locus i is p_(0i) given hypothesis h₀ and p_(1i) given hypothesis h₁.

Given h₀: p_(0i)=0

Given h₁: p_(1i)=p_(x)(1-p_(d)) or p_(1i)=p_(y)(1-p_(d)) depending on whether the locus is homozygous for x or y.

Create a measurement m=1/N_(h)Σ_(i=1 . . . Nh)I_(i) where I_(i) is an indicator variable, and is 1 if a heterozygous call is made and 0 otherwise. N_(h) is the number of homozygous loci. One can simplify the explanation by assuming that p_(x)=p_(y) and p_(0i), p_(1i) for all loci are the same two values p₀ and p₁. Given h₀, E(m)=p₀=0 and σ² _(m|h0) =p ₀(1-p₀)/N_(h). Given h₁, E(m)=p₁ and σ² _(m|h1)=p₁(1-p₁)/N_(h). Using 5 sigma-statistics, and making the probability of false positives equal the probability of false negatives, it can be shown that (p₁-p₀)/2>5σ_(m|hl) hence N_(h)=100(p₀(1-p₀)+P₁(1-p₁))/(p₁-p₀)². For 2-sigma confidence instead of 5-sigma confidence, it can be shown that N_(h)=4.2²(p₀(1-p₀)+p₁(1-p₁))/(p₁,p₀)².

It is necessary to sample enough loci N that there will be sufficient available homozygous loci N_(h-avail) such that the confidence is at least 97.7% (2-sigma). Characterize N_(h) avail=Σ_(i=1 . . . N)J_(i) where J_(i) is an indicator variable of value 1 if the locus is homozygous and 0 otherwise. The probability of the locus being homozygous is p_(x) ²+p_(y) ². Consequently, E(N_(h-avail))=N(p_(x) ²+p_(y) ²) and σ_(Nh-avail) ²=N(p_(x) ²)+p_(y) ²)(1-p_(x) ²-p_(y) ²). To guarantee N is large enough with 97.7% confidence, it must be that E(N_(h-avail))-2σ_(Nh-avail)=N_(h) where N_(h) is found from above.

For example, if one assumes p_(d=0.3), p_(x)=p_(y)=0.5, one can find N_(h)=186 and N=391 for 5-sigma confidence. Similarly, it is possible to show that N_(h)=30 and N=68 for 2-sigma confidence i.e. 97.7% confidence in false negatives and false positives.

Note that a similar approach can be applied to looking for deletions of a segment when ho is the hypothesis that two known chromosome segment are present, and hi is the hypothesis that one of the chromosome segments is missing. For example, it is possible to look for all of those loci that should be heterozygous but are homozygous, factoring in the effects of allele dropouts as has been done above.

Also note that even though the assay is qualitative, allele dropout rates may be used to provide a type of quantitative measure on the number of DNA segments present.

Method 3: Making use of known Alleles of Reference Sequences, and Quantitative Allele Measurements

Here, it is assumed that the alleles of the normal or expected set of segments are known. In order to check for three chromosomes, the first step is to clean the data, assuming two of each chromosome. In a preferred embodiment of the invention, the data cleaning in the first step is done using methods described elsewhere in this document. Then the signal associated with the expected two segments is subtracted from the measured data. One can then look for an additional segment in the remaining signal. A matched filtering approach is used, and the signal characterizing the additional segment is based on each of the segments that are believed to be present, as well as their complementary chromosomes. For example, considering FIG. 13, if the results of PS indicate that segments p2 and m1 are present, the technique described here may be used to check for the presence of p2, p3, m1 and m4 on the additional chromosome. If there is an additional segment present, it is guaranteed to have more than 50% of the alleles in common with at least one of these test signals. Note that another approach, not described in detail here, is to use an algorithm described elsewhere in the document to clean the data, assuming an abnormal number of chromosomes, namely 1, 3, 4 and 5 chromosomes, and then to apply the method discussed here. The details of this approach should be clear to someone skilled in the art after having read this document.

Hypothesis ho is that there are two chromosomes with allele vectors a₁, a₂. Hypothesis h₁ is that there is a third chromosome with allele vector a₃ Using a method described in this document to clean the genetic data, or another technique, it is possible to determine the alleles of the two segments expected by h₀: a₁=[a₁₁ . . . a_(1N)] and a₂=[a₂₁ . . . a_(2N)] where each element a_(ji) is either x or y. The expected signal is created for hypothesis h₀: s_(0x)=[f_(0x)(a₁₁, a₂₁) . . . f_(x0)(a_(1N), a_(2N))], s_(0y)=[f_(y)(a₁₁, a₂₁) . . . f_(y)(a_(1N), a_(2N))] where f_(x), f_(y) describe the mapping from the set of alleles to the measurements of each allele. Given h₀, the data may be described as d_(xi)=s_(0xi)+n_(xi), n_(xi)˜N(0, σ_(xi) ²); d_(yi)=s_(0yi)+n_(yi), n_(yi)˜N(0, σ_(yi) ²). Create a measurement by differencing the data and the reference signal: m_(xi)=d_(xi)-s_(xi); m_(yi)=d_(yi)-s_(yi). The full measurement vector is m=[m_(x) ^(T) m_(y) ^(T)]^(T).

Now, create the signal for the segment of interest—the segment whose presence is suspected, and will be sought in the residual—based on the assumed alleles of this segment: a₃=[a₃₁ . . . a_(3N)]. Describe the signal for the residual as: s_(r)=[s_(rx) ^(T) s_(ry) ^(T)]^(T) where s_(rx)=[f_(rx)(a₃₁) . . . f_(rx)(a_(3N))], s_(ry)=[f_(ry)(a₃₁) . . . f_(ry)(a_(3N))] where f_(rx)(a_(3i))=δ_(xi) if a_(3i)=x and 0 otherwise, f_(ry)(a_(3i))=δ_(yi) if a_(3i)=y and 0 otherwise. This analysis assumes that the measurements have been linearized (see section below) so that the presence of one copy of allele x at locus i generates data δ_(xi)+n_(xi) and the presence of κ_(x) copies of the allele x at locus i generates data κ_(x)δ_(xi)+n_(xi). Note however that this assumption is not necessary for the general approach described here. Given h₁, if allele a_(3i)=x then m_(xi)=δ_(xi)+n_(xi), m_(yi)=n_(yi) and if a_(3i)=y then m_(xi)=n_(xi), m_(yi)=δ_(yi)+n_(yi). Consequently, a matched filter h=(1/N)R⁻¹s_(r) can be created where R=diag([σ_(xl) ² . . . σxN²σ_(y1) ² . . . σ_(yN) ²]). The measurement is m=h^(T)d. h ₀ : m=(1/N)Σ_(i=1 . . . N) s _(rxi) n _(xi)/σ_(xi) ² +s _(ryi) n _(yi)/σ_(yi) ² h ₁ : m=(1/N)Σ_(i=1 . . . N) s _(rxi)(δ_(xi) +n _(xi))/σ_(xi) ² +s _(ryi)(δ_(yi) +n _(yi))/σ_(yi) ² In order to estimate the number of SNPs required, make the simplifying assumptions that all assays for all alleles and all loci have similar characteristics, namely that δ_(xi)=δ_(yi)=δ and σ_(xi)=(σ_(yi)=σ (for i=1 . . . N. Then, the mean and standard deviation may be found as follows: h ₀ : E(m)=m ₀=0; σ_(m|h0) ²=(1/N ²σ⁴)(N/2)(σ²δ²+σ²δ²)=δ²/(Nσ ²) h ₁ : E(m)=m₁=(1/N)(N/2σ²)(δ²+δ²)=δ²/σ²; σm|h1 ²=(1/N ²σ⁴)(N)(σ²δ²)=δ²/(Nσ ²) Now compute a signal-to-noise ratio (SNR) for this test of hi versus ho The signal is m₁-m₀=δ²/σ², and the noise variance of this measurement is σm|h0 ²+σm|h1 ²=2δ²/(Nσ²). Consequently, the SNR for this test is (δ⁴/σ⁴)/(2δ²/(Nσ²))=Nδ²/(2σ²).

Compare this SNR to the scenario where the genetic information is simply summed at each locus without performing a matched filtering based on the allele calls. Assume that h=(1/N) ₁ where 1 is the vector of N ones, and make the simplifying assumptions as above that δ_(xi)=δ_(yi)=δ and σ_(xi)=σ_(yi)=σ for i=1 . . . N. For this scenario, it is straightforward to show that if m=h^(T)d: h ₀ : E(m)=m ₀=0; σ_(m|h0) ² =Nσ ² /N ² +Nσ ² /N ²=2σ² / N h _(i) : E(m)=m ₁=(1/N)(Nδ/2+Nδ/2)=δ; σ_(m|h1) ²=(1/N ²)(Nσ ² +Nσ ²)=2σ²/N Consequently, the SNR for this test is Nδ²/(4σ²). In other words, by using a matched filter that only sums the allele measurements that are expected for segment a₃, the number of SNPs required is reduced by a factor of 2. This ignores the SNR gain achieved by using matched filtering to account for the different efficiencies of the assays at each locus.

Note that if we do not correctly characterize the reference signals s_(xi) and s_(yi) then the SD of the noise or disturbance on the resulting measurement signals m_(xi) and m_(yi) will be increased. This will be insignificant if δ<<σ, but otherwise it. will increase the probability of false detections. Consequently, this technique is well suited to test the hypothesis where three segments are present and two segments are assumed to be exact copies of each other. In this case, s_(xi) and s_(yi) will be reliably known using techniques of data cleaning based on qualitative allele calls described elsewhere. In one embodiment method 3 is used in combination with method 2 which uses qualitative genotyping and, aside from the quantitative measurements from allele dropouts, is not able to detect the presence of a second exact copy of a segment.

We now describe another quantitative technique that makes use of allele calls. The method involves comparing the relative amount of signal at each of the four registers for a given allele. One can imagine that in the idealized case involving a single, normal cell, where homogenous amplification occurs, (or the relative amounts of amplification are normalized), four possible situations can occur: (i) in the case of a heterozygous allele, the relative intensities of the four registers will be approximately 1:1:0:0, and the absolute intensity of the signal will correspond to one base pair; (ii) in the case of a homozygous allele, the relative intensities will be approximately 1:0:0:0, and the absolute intensity of the signal will correspond to two base pairs; (iii) in the case of an allele where ADO occurs for one of the alleles, the relative intensities will be approximately 1:0:0:0, and the absolute intensity of the signal will correspond to one base pair; and (iv) in the case of an allele where ADO occurs for both of the alleles, the relative intensities will be approximately 0:0:0:0, and the absolute intensity of the signal will correspond to no base pairs.

In the case of aneuploides, however, different situations will be observed. For example, in the case of trisomy, and there is no ADO, one of three situations will occur: (i) in the case of a triply heterozygous allele, the relative intensities of the four registers will be approximately 1:1:1:0, and the absolute intensity of the signal will correspond to one base pair; (ii) in the case where two of the alleles are homozygous, the relative intensities will be approximately 2:1:0:0, and the absolute intensity of the signal will correspond to two and one base pairs, respectively; (iii) in the case where are alleles are homozygous, the relative intensities will be approximately 1:0:0:0, and the absolute intensity of the signal will correspond to three base pairs. If allele dropout occurs in the case of an allele in a cell with trisomy, one of the situations expected for a normal cell will be observed. In the case of monosomy, the relative intensities of the four registers will be approximately 1:0:0:0, and the absolute intensity of the signal will correspond to one base pair. This situation corresponds to the case of a normal cell where ADO of one of the alleles has occurred, however in the case of the normal cell, this will only be observed at a small percentage of the alleles. In the case of uniparental disomy, where two identical chromosomes are present, the relative intensities of the four registers will be approximately 1:0:0:0, and the absolute intensity of the signal will correspond to two base pairs. In the case of UPD where two different chromosomes from one parent are present, this method will indicate that the cell is normal, although further analysis of the data using other methods described in this patent will uncover this.

In all of these cases, either in cells that are normal, have aneuploides or UPD, the data from one SNP will not be adequate to make a decision about the state of the cell. However, if the probabilities of each of the above hypothesis are calculated, and those probabilities are combined for a sufficient number of SNPs on a given chromosome, one hypothesis will predominate, it will be possible to determine the state of the chromosome with high confidence.

Methods for Linearizing Quantitative Measurements

Many approaches may be taken to linearize measurements of the amount of genetic material at a specific locus so that data from different alleles can be easily summed or differenced. We first discuss a generic approach and then discuss an approach that is designed for a particular type of assay.

Assume data d_(xi) refers to a nonlinear measurement of the amount of genetic material of allele x at locus i. Create a training set of data using N measurements, where for each measurement, it is estimated or known that the amount of genetic material corresponding to data d_(xi) is β_(xi). The training set βxi, i=l1 . . . N, is chosen to span all the different amounts of genetic material that might be encountered in practice. Standard regression techniques can be used to train a function that maps from the nonlinear measurement, d_(xi), to the expectation of the linear measurement, E(β_(xi)). For example, a linear regression can be used to train a polynomial function of order P, such that E(β_(xi))=[1 d_(xi)d_(xi) ² . . . d_(xi) ^(P)]c where c is the vector of coefficients c=[c₀c₁ . . . c_(P)]^(T). To train this linearizing function, we create a vector of the amount of genetic material for N measurements β_(x)=[β_(x1) . . . β_(xN)]^(T) and a matrix of the measured data raised to powers 0 . . . P: D=[[1d_(x1)d_(x1) ² . . . d_(x1) ^(P)]^(T)[1d_(x2)d_(x2) . . . d_(x2) ^(P)]^(T) . . . [1d_(xN)d_(xN) ² . . . d_(xN) ^(P)]^(T)]^(T). The coefficients can then be found using a least squares fit c=(D^(T)D)⁻¹D^(T)β_(x).

Rather than depend on generic functions such as fitted polynomials, we may also create specialized functions for the characteristics of a particular assay. We consider, for example, the Taqman assay or a qPCR assay. The amount of die for allele x and some locus i, as a function of time up to the point where it crosses some threshold, may be described as an exponential curve with a bias offset: g_(xi)(t)=α_(xi)+β_(xi)exp(γ_(xi)t) where α_(xi) is the bias offset, γ_(xi) is the exponential growth rate, and β_(xi) corresponds to the amount of genetic material. To cast the measurements in terms of β_(xi), compute the parameter α_(xi) by looking at the asymptotic limit of the curve g_(xi)(−∞) and then may find β_(xi) and γ_(xi) by taking the log of the curve to obtain log(g_(xi)(t)−α_(xi))=log(β_(xi))+γ_(xi)t and performing a standard linear regression. Once we have values for α_(xi) and γ_(xi), another approach is to compute β_(xi) from the time, t_(x), at which the threshold g_(x) is exceeded. β_(xi)=(g_(x)−α_(xi))exp(−γ_(xi)t_(x)). This will be a noisy measurement of the true amount of genetic data of a particular allele.

Whatever techniques is used, we may model the linearized measurement as β_(xi)=κ_(x)δ_(xi)+n_(xi) where κ_(x) is the number of copies of allele x, δ_(xi) is a constant for allele x and locus i, and n_(xi)˜N(0, σ_(x) ²) where σ_(x) ² can be measured empirically.

Method 4.. Using a Probability Distribution Function for the Amplification of Genetic Data at each Locus

The quantity of material for a particular SNP will depend on the number of initial segments in the cell on which that SNP is present. However, due to the random nature of the amplification and hybridization process, the quantity of genetic material from a particular SNP will not be directly proportional to the starting number of segments. Let q_(s,A), q_(s,G), q_(s,T), q_(s,C) represent the amplified quantity of genetic material for a particular SNP s for each of the four nucleic acids (A,C,T,G) constituting the alleles. Note that these quantities may be exactly zero, depending on the technique used for amplification. Also note that these quantities are typically measured from the intensity of signals from particular hybridization probes. This intensity measurement can be used instead of a measurement of quantity, or can be converted into a quantity estimate using standard techniques without changing the nature of the invention. Let qs be the sum of all the genetic material generated from all alleles of a particular SNP: q_(s)=q_(s,A)+q_(s,G)+q_(s,T)+q_(s,C). Let N be the number of segments in a cell containing the SNP s. N is typically 2, but may be 0, 1 or 3 or more. For any high or medium throughput genotyping method discussed, the resulting quantity of genetic material can be represented as q_(s)=(A+A_(θ,s))N+θ_(s) where A is the total amplification that is either estimated a-priori or easily measured empirically, A_(θ,s) is the error in the estimate of A for the SNP s, and θ_(s) is additive noise introduced in the amplification, hybridization and other process for that SNP. The noise terms A_(θ,s) and θ_(s) are typically large enough that q_(s) will not be a reliable measurement of N. However, the effects of these noise terms can be mitigated by measuring multiple SNPs on the chromosome. Let S be the number of SNPs that are measured on a particular chromosome, such as chromosome 21. It is possible to generate the average quantity of genetic material over all SNPs on a particular chromosome as follows: $\begin{matrix} {q = {{\frac{1}{S}{\sum\limits_{s = 1}^{S}q_{s}}} = {{NA} + {\frac{1}{S}{\sum\limits_{s = 1}^{S}{A_{\theta,s}N}}} + \theta_{s}}}} & (16) \end{matrix}$ Assuming that A_(θ,s) and θ_(s) are normally distributed random variables with 0 means and variances σ² _(A) _(θ,s) , and σ² _(74 ,s), one can model q=NA+φ where φ is a normally distributed random variable with 0 mean and variance $\frac{1}{S}{\left( {{N^{2}\sigma_{A_{\theta,s}}^{2}} + \sigma_{\theta}^{2}} \right).}$ Consequently, if sufficient number of SNPs are measured on the chromosome such that S>>(N²σ² _(A) _(θ,s) +σ² _(θ)) then N=q/A can be accurately estimated.

In a another embodiment, assume that the amplification is according to a model where the signal level from one SNP is s=a+α where (a+α) has a distribution that looks like the picture in FIG. 14, left. The delta function at 0 models the rates of allele dropouts of roughly 30%, the mean is a, and if there is no allele dropout, the amplification has uniform distribution from 0 to a₀. In terms of the mean of this distribution a₀ is found to be a₀=2.86a. Now model the probability density function of a using the picture in FIG. 14, right. Let s_(c) be the signal arising from c loci; let n be the number of segments; let α_(i) be a random variable distributed according to FIG. 14 that contributes to the signal from locus i; and let σ be the standard deviation for all {α_(i)}. s_(c)=anc+Σ_(i=1 . . . nc) α_(i); mean(s_(c))=anc; std(s_(c))=sqrt(nc)σ. If σ is computed according to the distribution in FIG. 14, right, it is found to be σ=0.907a². We can find the number of segments from n=s_(c)/(ac) and for “5-sigma statistics” we require std(n)<0.1 so std(s_(c))/(ac)=0.1=>0.95a·sqrt(nc)/(ac)=0.1 so c=0.95² n/0.1²=181.

Another model to estimate the confidence in the call, and how many loci or SNPs must be measured to ensure a given degree of confidence, incorporates the random variable as a multiplier of amplification instead of as an additive noise source, namely s=a(1+α). Taking logs, log(s)=log(a) +log(1+α). Now, create a new random variable γ=log(1+α) and this variable may be assumed to be normally distributed ˜N(0,σ). In this model, amplification can range from very small to very large, depending on σ, but never negative. Therefore α=e^(γ)−1; and s_(c)=Σ_(i=1 . . . cn)a(1+α_(i)) For notation, mean(s_(c)) and expectation value E(s_(c)) are used interchangeably E(s _(c))=acn+aE(Σ_(i=1 . . . cn)α_(i))=acn +aE(Σ_(i=1 . . . cn)α_(i))=acn(1+E(α))

To find E(α) the probability density function (pdf) must be found for a which is possible since α is a function of γ which has a known Gaussian pdf. p_(α)(α)=p_(γ)(γ)(dγ/dα). So: ${p_{\gamma}(\gamma)} = {{\frac{1}{\sqrt{2\quad\pi}\sigma}{\mathbb{e}}^{\frac{- \gamma^{2}}{2\quad\sigma^{2}}}\quad{and}\quad\frac{\mathbb{d}\gamma}{\mathbb{d}\alpha}} = {{\frac{\mathbb{d}}{\mathbb{d}\alpha}\left( {\log\left( {1 + \alpha} \right)} \right)} = {\frac{1}{1 + \alpha} = {\mathbb{e}}^{- \gamma}}}}$ and: ${p_{\alpha}(\alpha)} = {{\frac{1}{\sqrt{2\quad\pi}\sigma}{\mathbb{e}}^{\frac{- \gamma^{2}}{2\quad\sigma^{2}}}{\mathbb{e}}^{- \gamma}} = {\frac{1}{\sqrt{2\quad\pi}\sigma}{\mathbb{e}}^{\frac{- {({\log{({1 + \alpha})}})}^{2}}{2\quad\sigma^{2}}}\frac{1}{1 + \alpha}}}$ This has the form shown in FIG. 15 for σ=1. Now, E(α) can be found by integrating over this pdf E(α)=∫_(−∞) ^(∞)αp_(α)(α)dα which can be done numerically for multiple different σ. This gives E(s_(c)) or mean(s_(c)) as a function of σ. Now, this pdf can also be used to find var(s_(c)): $\begin{matrix} {{{var}\left( s_{c} \right)} = {E\left( {s_{c} - {E\left( s_{c} \right)}} \right)}^{2}} \\ {= {E\left( {{\sum\limits_{i = {1\quad\ldots\quad{cn}}}{a\left( {1 + \alpha_{i}} \right)}} - {acn} - {{aE}\left( {\sum\limits_{i = {1\quad\ldots\quad{cn}}}\alpha_{i}} \right)}} \right)}^{2}} \\ {= {E\left( {{\sum\limits_{i = {1\quad\ldots\quad{cn}}}{a\quad\alpha_{i}}} - {{aE}\left( {\sum\limits_{i = {1\quad\ldots\quad{cn}}}\alpha_{i}} \right)}} \right)}^{2}} \\ {= {a^{2}{E\left( {{\sum\limits_{i = {1\quad\ldots\quad{cn}}}\alpha_{i}} - {{cnE}(\alpha)}} \right)}^{2}}} \\ {= {a^{2}{E\left( {\left( {\sum\limits_{i = {1\quad\ldots\quad{cn}}}\alpha_{i}} \right)^{2} - {2\quad{{cnE}(\alpha)}\left( {\sum\limits_{i = {1\quad\ldots\quad{cn}}}\alpha_{i}} \right)} + {c^{2}n^{2}{E(\alpha)}^{2}}} \right)}}} \\ {= {a^{2}{E\begin{pmatrix} {{{cn}\quad\alpha^{2}} + {{{cn}\left( {{cn} - 1} \right)}\alpha_{i}\alpha_{j}} -} \\ {{2\quad{{cnE}(\alpha)}\left( {\sum\limits_{i = {1\quad\ldots\quad{cn}}}\alpha_{i}} \right)} + {c^{2}n^{2}{E(\alpha)}^{2}}} \end{pmatrix}}}} \\ {= {a^{2}c^{2}{n^{2}\left( {{E\left( \alpha^{2} \right)} + {\left( {{cn} - 1} \right){E\left( {\alpha_{i}\alpha_{j}} \right)}} - {2\quad{{cnE}(\alpha)}^{2}} + {{cnE}(\alpha)}^{2}} \right)}}} \\ {= {a^{2}c^{2}{n^{2}\left( {{E\left( \alpha^{2} \right)} + {\left( {{cn} - 1} \right){E\left( {\alpha_{i}\alpha_{j}} \right)}} - {{cnE}(\alpha)}^{2}} \right)}}} \end{matrix}$ which can also be solved numerically using p_(α)(α) for multiple different σ to get var(s_(c)) as a function of σ. Then, we may take a series of measurements from a sample with a known number of loci c and a known number of segments n and find std(s_(c))/E(s_(c)) from this data. That will enable us to compute a value for σ. In order to estimate n, E(s_(c))=nac(1+E(α)) so $\hat{n} = \frac{s_{c}}{a\quad{c\left( {1 + {E(\alpha)}} \right)}}$ can be measured so that ${{std}\left( \hat{n} \right)} = {\frac{{std}\left( s_{c} \right)}{a\quad{c\left( {1 + {E(\alpha)}} \right)}}{{std}(n)}}$ When summing a sufficiently large number of independent random variables of 0-mean, the distribution approaches a Gaussian form, and thus s_(c) (and {circumflex over (n)}) can be treated as normally distributed and as before we may use 5-sigma statistics: ${{std}\left( \hat{n} \right)} = {\frac{{std}\left( s_{c} \right)}{a\quad{c\left( {1 + {E(\alpha)}} \right)}} < 0.1}$ in order to have an error probability of 2 normcdf(5, 0, 1)=2.7e-7. From this, one can solve for the number of loci c. Sexing

In one embodiment of the system, the genetic data can be used to determine the sex of the target individual. After the method disclosed herein is used to determine which segments of which chromosomes from the parents have contributed to the genetic material of the target, the sex of the target can be determined by checking to see which of the sex chromosomes have been inherited from the father: X indicates a female, and Y indicates a make. It should be obvious to one skilled in the art how to use this method to determine the sex of the target.

Validation of the Hypotheses

In some embodiments of the system, one drawback is that in order to make a prediction of the correct genetic state with the highest possible confidence, it is necessary to make hypotheses about every possible states. However, as the possible number of genetic states are exceptionally large, and computational time is limited, it may not be reasonable to test every hypothesis. In these cases, an alternative approach is to use the concept of hypothesis validation. This involves estimating limits on certain values, sets of values, properties or patterns that one might expect to observe in the measured data if a certain hypothesis, or class of hypotheses are true. Then, the measured values can tested to see if they fall within those expected limits, and/or certain expected properties or patterns can be tested for, and if the expectations are not met, then the algorithm can flag those measurements for further investigation.

For example, in a case where the end of one arm of a chromosome is broken off in the target DNA, the most likely hypothesis may be calculated to be “normal” (as opposed, for example to “aneuploid”). This is because the particular hypotheses that corresponds to the true state of the genetic material, namely that one end of the chromosome has broken off, has not been tested, since the likelihood of that state is very low. If the concept of validation is used, then the algorithm will note that a high number of values, those that correspond to the alleles that lie on the broken off section of the chromosome, lay outside the expected limits of the measurements. A flag will be raised, inviting further investigation for this case, increasing the likelihood that the true state of the genetic material is uncovered.

It should be obvious to one skilled in the art how to modify the disclosed method to include the validation technique. Note that one anomaly that is expected to be very difficult to detect using the disclosed method is balanced translocations.

Application of the Method with Contaminated DNA

In one embodiment of the system, genetic data from target DNA which has been definitely or possibly contaminated with foreign DNA can also be cleaned using the disclosed method. The concept outlined above, that of hypothesis validation, can be used to identify genetic samples that fall outside of expected limits; in the case of contaminated samples it is expected that this validation will cause a flag to be raised, and the sample can be identified as contaminated.

Since large segments of the target DNA will be known from the parental genetic data, and provided the degree of contamination is sufficiently low and sufficient SNPs are measured, the spurious data due to the foreign genetic material can be identified. The method disclosed herein should still allow for the reconstruction of the target genome, albeit with lower confidence levels. Provided that the level of contamination is sufficiently low, the hypothesis that is calculated to be most likely is still expected to correspond to the true state of the genetic material in the target DNA sample.

It should be obvious to one skilled in the art how to optimize these methods for the purpose cleaning genetic data contaminated with spurious signals due to foreign DNA.

Example of Reduction to Practice

In one embodiment of the system, the method described above can be implemented using a set of algorithms which will calculate the most likely identity of each SNP in a list of relevant SNPs, as well as a confidence level for each SNP call. Described here is one possible way to implement the method disclosed in this patent. FIG. 16 and FIG. 17 visually represent the breakdown of this implementation of the disclosed method, the input requirements and the format of the output. Note that the implementations discussed here were done using the computer program Matlab, and a familiarity with this product will facilitate the understanding of the examples.

FIG. 16 focuses on the input data (1601) and its format and requirements, as well as the output data (1605) and its format. Input to the algorithm consists of the measured data (1602), including input by the user, and existing data (1603) preserved in the database, that is consequently updated by the newly collected data. The measured data (MD, 1602) consists of the genetic data as measured for desired SNPs for the embryo, and the paternal and maternal alleles, as well as the accuracy, or confidence with which each of the alleles is known. The existing data (1603) consists of the population frequency data (FD), measurement bias data (BD), and crossover data (CD).

The population frequency data (FD) contains the allele frequency (for each of the values A,C,T,G) for each of the SNPs available. These data can be previously known or measured, and can be updated with newly collected data as described elsewhere in this document.

Measurement bias data (BD) captures the bias of the measurement process towards certain values. For example, assuming the true value of the allele is X=A, and probability of the correct measurement is PX, the distribution of the measured value x is: A C T G Probability p_(X) p_(C) p_(T) p_(G) probability with no bias p_(X) (1 − p_(X))/3 (1 − p_(X))/3 (1 − p_(X))/3 where p_(X)+p_(C)+p_(T)+p_(G)=1. If there is no bias of measurement towards any of the values then p_(C)=p_(T)=p_(G)=(1−p_(X))/3. This information can be discerned from empirical and theoretical knowledge about the mechanism of the measurement process and the relevant instruments.

Crossover data (CD) consists of a database of genetic distances and crossover probabilities between pairs of snips, collected from HAPMAP data.

Together, (MD), (FD), (BD), (CD) make up the necessary input to the disclosed method (termed ‘Parental Support’, 1604) algorithm. This algorithm (1604) then operates on the input data to generate the output data (1605), which describes the most likely “true” value of the target's genetic data given the measured values, as well as the most likely origin of each SNP in terms of the parental alleles.

FIG. 17 focuses on the structure of the algorithm itself (termed ‘Parental Support’) and how each of these input data are utilized by the algorithm. Working backwards: to find the most likely hypotheses it is necessary to calculate P(HIM) 1707, the probability of the hypothesis given the measurement, for all the possible hypotheses H. As described previously: ${{P\left( {H❘M} \right)} = {\frac{P\left( {M❘H} \right)}{P(M)}{P(H)}}},{{P(M)} = {\sum\limits_{h \in S_{H}}{{P\left( {M❘h} \right)}{P(h)}}}}$ In order to find P(H|M) (1710), it is first necessary to find P(M|H) (1707), and P(H) (1708), for all hypotheses H. This allows the calculation of P(M), 1709 by the equation shown above. The probability of the hypothesis P(H) 1708 depends on how many crossovers are assumed and the likelihood of each of these crossovers (CD, 1704), as explained above.

P(M|H) can be calculated using the following equation: ${{P\left( {M❘H} \right)} = {\sum\limits_{t}{{P\left( {M❘{{H\&}\quad t}} \right)}{P(t)}}}},$ as explained previously.

P(t), 1706 is the frequency of a particular value t for paternal and maternal alleles and is derived from population frequency data (FD, 1703). P(M|H&t), 1705 is the probability of correctly measuring the allele values of the embryo, the father, and the mother, assuming a particular “true” value t. The measurement data and accuracy entered by the user (MD, 1701), and the measurement bias database (BD, 1702) are the inputs required to calculate P(M|H&t), 1705.

A more detailed description of the method is given forthwith. Begin with SNPs R={r₁, . . . ,r_(k)}, (a set of k SNPs), and the corresponding measured identities of parents and embryo, M=(e₁,e₂,p₁,p₂,m₁,m₂), for k SNPs, identified with id's s₁, . . . ,s_(k), where:

e₁=(e₁₁,e₁₂, . . . ,e_(1k)) is the measurement on one of the chromosomes of the embryo (they don't all have to come from the same parental chromosome) for all the SNPs

e₂=(e₂₁,e₂₂, . . . ,e2k) is the measurement on the other chromosome of the embryo

p₁=(p₁₁,p_(12, . . . ,p) _(1k)) is the measurement on the FIRST chromosome of the father (all coming from the same chromosome

p₂=(p₂₁,p₂₂, . . . ,p_(2k)) is the measurement on the SECOND chromosome of the father (all coming from the same chromosome)

m₁=(m₁₁,m₁₂, . . . ,m_(1k)) is the measurement on the FIRST chromosome of the mother (all coming from the same chromosome)

m₂=(m₂₁,m₂₂, . . . ,m_(2k)) is the measurement on the SECOND chromosome of the mother (all coming from the same chromosome)

One can also write M={M₁, . . . ,M_(k)} where M_(i)=(e_(1i),e_(2i),p_(1i),p_(2i))

The goal of the method is to determine the “true” embryo valueT=(E1,E2), i.e. the most likely case given the measurement M, where:

E₁=(E₁₁,E₁₂, . . . ,E_(1k)) is the measurement on the FIRST chromosome of the embryo, corresponding to the PATERNAL chromosome, E_(1i)ε{p_(1i),p_(2i)}

E₂=(E₂₁,E₂₂, . . . ,E_(2k)) is the measurement on the SECOND chromosome of the embryo, corresponding to the MATERNAL value, E_(2i)ε{m_(1i),m_(2i)}

One can also write T={T₁, . . . ,T_(k)} where T_(i)=(E_(1i),E_(2i)).

Effectively, the parental chromosome values (p₁,p_(2,)m₁,m₂) are being used as support to check, validate and correct measured values of (e₁,e₂), hence the term “Parental Support Algorithm”.

To achieve this goal, all the possible hypotheses for the origin of embryo values are developed and the most likely one is chosen, given the measurement M. The hypotheses space is S_(H)={H¹, . . . ,H^(q)}={set of all the hypotheses}, where each hypothesis is of the format H^(j)=(H^(j) ₁, . . . H^(j) _(k)) where H^(j) _(i) is the “mini” hypothesis for SNP i, of the format H^(j) _(i)=(p_(i)*,m_(j)*) where p_(i)*ε{p_(1i),p_(2i)} and m_(i)*ε{m_(1i),m_(2i)}. There are 4 different “mini” hypotheses H¹ _(i)*, in particular: H ^(j) _(i)1:(e _(1i) ,e _(2i))={(p _(1i) ,m _(1i)) or (m _(1i) ,p _(1i))}; H ^(j) _(i)2: (e _(1i) ,e _(2i))={(p_(1i) ,m _(2i)) or (m _(2i) ,p _(1i))} H ^(j) _(i)3: (e _(1i) ,e _(2i))={(p _(2i) ,m _(1i)) or (m _(1i) ,p _(2i))}; H ^(j) _(i)4: (e _(1i) ,e _(2i))={(p _(2i) ,m _(2i)) or (m _(2i),p_(2i))}

In theory, S^(H) can have q=4^(k) different members to pick from, though later this space will be limited with a maximal number of crossovers of paternal and maternal chromosomes.

The most likely hypothesis H* is chosen to be as: H*=arg max_(HεS) _(H) P(H|M) For a particular H: ${P\left( {H❘M} \right)} = {\frac{P\left( {M❘H} \right)}{\sum\limits_{h \in S_{H}}{{P\left( {M❘h} \right)}{P(h)}}}{{P(H)}.}}$ So deriving for each hypothesis:

-   (1) P(M/H) is the probability of measurement M given the particular     hypothesis H. -   (2) P(H) is the probability of the particular hypothesis H. -   (3) P(M) is the probability of the measurement M.     After deriving P(H|M) for all H, the one with the greatest     probability is chosen.     Deriving P(M|H)

Since measurements on each SNP are independent, for M=(M₁, . . . M_(k)) and the particular hypothesis H=(H₁, . . . H_(k)) on all k SNPs then: P(M|H)=P(M ₁ |H ₁)* . . . *P(M _(k) |H _(k)) For the particular SNP r, derive P(M_(r)|H_(r)). For Ω={A,C,T,G}X{A,C,T,G}X={A,C,T,G}X{A,C,T,G}, the space of all the possible values for “true” parent values (P_(1r),P_(2r),M_(1r),M_(2r)), by Bayes formula is: ${P\left( {M_{r}/H_{r}} \right)} = {\sum\limits_{t \in \Omega}{{P\left( {{{{M_{r}/H_{r}}\&}\quad\left( {P_{1r},P_{2r},M_{1r},M_{2r}} \right)} = t} \right)}*{P\left( {\left( {P_{1r},P_{2r},M_{1r},M_{2r}} \right) = t} \right)}}}$ Deriving P(M_(r)/H_(r)& (P_(1r),P_(2r),M_(1r),M_(2r))=t)

M_(r)=(e_(1r),e_(2r),p_(1r),p_(2r),m_(1e),m_(2r)) is a given measurement on this SNP.

T=(E_(1r),E_(2r),P_(1r),P_(2r),M_(1r),M_(2r)) is the supposed “true” value, for t=(P_(1r),P_(2r),M_(1r),M_(2r)) and (E_(1r),E_(2r)) fixed from T by hypothesis. (E_(1r) is one of P_(1r),P_(2r), E_(2r) is one of M_(1r),M_(2r)) P(M _(r)=(e _(1r) ,e _(2r) , p _(1r) ,p _(2r) , m _(1r) ,m _(2r))/T=(E_(1r) ,E _(2r) ,P _(r1) ,P _(2r) ,M _(1r) ,M _(2r)))=P(e _(1r) /E _(1r))*P(e _(2r) ,E _(2r))*P(p _(1r) /P _(r1))*P(p _(2r) /P _(2r))*P(m _(1r) /M _(1r))*P(m _(2r) /M _(2r)) Given:

p_(eri)=P(accurately measuring the embryo value i,on SNP r)

p_(pri)=P(accurately measuring the father value i,on SNP r)

p_(mri)=P(accurately measuring the mother value i,on SNP r) $\begin{matrix} {{P\left( {e_{1r}/E_{1r}} \right)} = \left\{ \begin{matrix} p_{{er}\quad 1} & {e_{1r} = E_{1r}} \\ \left( {1 - {p_{{{er}\quad 1})}*{p\left( {e_{1r},E_{1r},r} \right)}}} \right. & {e_{1r} \neq E_{1r}} \end{matrix} \right.} \\ {= {{I_{e_{1r} = E_{1r}}*p_{{er}\quad 1}} + {I_{e_{1r} \neq E_{1r}}*\left( {1 - p_{pr1}} \right)*{p\left( {e_{1r},E_{1r},r} \right)}}}} \\ {= {F\left( {e_{1r},E_{1r},p_{{er}\quad 1},r} \right)}} \end{matrix}$ where p(e_(1r),E_(1r),r)=⅓ if there is no measurement bias, otherwise it can be determined from experimental data, such as data from the Hapmap project. Deriving P((P_(1r),P_(2r),M_(1r),M_(2r))=t)

For t=(t₁,t₂,t₃,t4): P((P _(1r) ,P _(2r) ,M _(1r) ,M _(2r))=(t ₁ ,t ₂ ,t ₃ ,t ₄))=P(P _(1r) =t ₁)*P(P _(2r) =t ₂)*P(M _(1r) =t ₃)*P(M _(2r) =t ₄) Suppose there are n samples of (P₁,P₂,M₁,M₂), all paternal and maternal values are assumed to be independent, and t=(t₁,t₂,t₃,t₄) for t_(i) in {A,C,T,G}

To get a particular p_(1A)=P(P₁=t₁), for t₁=A, assume that in absence of any data this probability could be anything between 0 and 1, so it is assigned a value of U(0,1). With the acquisition of data, this is updated with the new values and the distribution of this parameter becomes a beta distribution. Suppose that out of n observations of P1, there are h values P1=A, and w=(event P₁=A) and D=(data given). It is described in a prior section the form of the beta distribution B(α,β) with α=h+1, β=n−h+1 for p(w|Data) (see equation (8)). The expected value and variance of X˜B(α,β) distribution are: ${EX} = \frac{\alpha}{\alpha + \beta}$ ${VX} = \frac{\alpha\beta}{\left( {\alpha + \beta} \right)^{2}\left( {\alpha + \beta + 1} \right)}$ So the posterior mean value of the parameter p_(1r)A=P(P_(1r)=A|Data)=(h+1)/(n+2) Similarly p_(1r)B=(#(p_(1r)=B)+1)/(n+2), . . . m_(2rG)=(#(m_(2r)=G)+1)/(n+2), etc. Thus all the values p_(1r)A, . . . ,m_(2rG) have been derived and: P((P _(1r) ,P _(2r) ,M _(1r) ,M _(2r))=(t ₁ ,t ₂ ,t ₃ ,t ₄))=p_(1rt) ₁ *p _(2rt) ₂ *M _(1rt) ₃ *m _(2r1t) ₄ Deriving P(H)

The probability of the hypothesis H=(H₁, . . . ,H_(k)) with H_(i)=(p_(i)*,m_(i)*) depends on the amount of chromosome crossover. For example,

with P(crossover)=0 then P(H)=¼ and H=(p*,m*) if p* in{(p11,p21, . . . ps1), (p12,p22, . . . ,ps2), m* in{(m11,m21, . . . ,ms1),(m12,m22, . . . ,ms2)}, 0 otherwise

with P(crossover)>0 it is important to incorporate the probability of crossover between each SNP.

Hypothesis H consists of the hypothesis for paternal and maternal chromosomes for each SNP, p_(i)*ε{P_(1i),P_(2i)} and m_(i)*ε{m_(1i),m_(2i)}, i.e. H=(H_(p),H_(m)) where H_(p)=(p₁*, . . . p_(k)*), and H_(m)=(m₁*, . . . m_(k)*), which are independent.

-   P(H)=P(H_(p))*P(H_(m)). Suppose that SNP are ordered by increasing     location,     ${P\left( H_{p} \right)} = {\frac{1}{4}{\prod\limits_{i = 2}^{k}\left( {{{PC}_{i}*\left( {1 - I_{i}} \right)} + {\left( {1 - {PC}_{i}} \right)*I_{i}}} \right.}}$     where PC_(i)=P(crossover(r_(i−1), r_(i))) i.e. probability of     crossover somewhere between SNPs r_(i−1),r_(i), and I_(i)=1 if     p_(i)*,p_(i−1)* are coming both from p₁ or P₂, and it is 0     otherwise.     Deriving P(crossover(a, b))

Given SNPs a,b, at base locations l_(a),l_(b) (given in bases), the probability of crossover is approximated as P(l_(a),l_(b))=0.5(1−exp(−2G(l_(a),l_(b)))) where G(l_(a),l_(b))=genetic distance in Morgans between locations l_(a),l_(b). There is no precise closed form function for G but it is loosely estimated as G(l_(a),l_(b))=|l_(a)−l_(b)|*1e⁻⁸. A better approximation can be used by taking advantage of the HapMap database of base locations s_(i), and distances G(s_(i),s_(i+1)), for i spanning over all locations. In particular, ${{G\left( {l_{a},l_{b}} \right)} = {\sum\limits_{l_{a} < s_{i} < l_{b}}{G\left( {s_{i},s_{i + 1}} \right)}}},$ so it can be used in crossover probability. Deriving P(M)

Once P(M|H) is known, P(H) can be found for all the different H in S_(H), ${P(M)} = {\sum\limits_{H \in S_{H}}{{P\left( {M❘H} \right)}{P(H)}}}$ A More Expedient Method to Derive the Hypothesis of Maximal Probability

Given the limitation of computer time, and the exponential scaling of complexity of the above method as the number of SNPs increases, in some cases it may be necessary to use more expedient methods to determine the hypothesis of maximal probability, and thus make the relevant SNP calls. A more rapid way to accomplish this follows:

From before: P(H|M)=P(M|H)*P(H)/P(M), argmax_(H)P(H|M)=argmax_(H) and P(M|H)*P(H)=argmax_(H) F(M,H), and the object is to find H, maximizing F(M,H).

Suppose M_((s,k))=measurement on snips s to k, H_((s,k))=hypothesis on snips s to k, and for shorts M_((k,k))=M_(k), H_((k,k))=H_(k)=measurement and hypothesis on snip k. As shown before: $\begin{matrix} {{P\left( {M_{({1,k})}❘H_{({1,k})}} \right)} = {\prod\limits_{i = 1}^{k}{P\left( {M_{i}❘H_{i}} \right)}}} \\ {= {{P\left( {M_{k}❘H_{k}} \right)}*{\prod\limits_{i = 1}^{k - 1}{P\left( {M_{i}❘H_{i}} \right)}}}} \\ {= {{P\left( {M_{k}❘H_{k}} \right)}*{P\left( {M_{({1,{k - 1}})}❘H_{({1,{k - 1}})}} \right)}}} \end{matrix}$ and also $\begin{matrix} {{P\left( H_{({1,k})} \right)} = {{1/4}*{\prod\limits_{i = 2}^{k}{{PF}\left( {H_{i - 1},H_{i}} \right)}}}} \\ {= {{{PF}\left( {H_{k - 1},H_{k}} \right)}*{1/4}*{\prod\limits_{i = 2}^{k - 1}{{PF}\left( {H_{i - 1},H_{i}} \right)}}}} \\ {= {{{PF}\left( {H_{k - 1},H_{k}} \right)}*{P\left( H_{({1,{k - 1}})} \right)}}} \end{matrix}$ where ${{PF}\left( {H_{i - 1},H_{i}} \right)} = \left\{ \begin{matrix} {1 - {{PC}\left( {H_{i - 1},H_{i}} \right)}} & {H_{i - 1} = H_{i}} \\ {{PC}\left( {H_{i - 1},H_{i}} \right)} & {H_{i - 1} \neq H_{i}} \end{matrix} \right.$ and PC(H_(i−1),H_(i))=probability of crossover between H_(i−1), H_(i)

So finally, for n snips: $\begin{matrix} {{F\left( {M,H} \right)} = {{P\left( {M❘H} \right)}*{P(H)}}} \\ {= {{P\left( {M_{({1,n})}❘H_{({1,n})}} \right)}*{P\left( H_{({1,n})} \right)}}} \\ {= {{P\left( {M_{({1,{n - 1}})}❘H_{({1,{n - 1}})}} \right)}*{P\left( H_{({1,{n - 1}})} \right)}*}} \\ {P\left( {M_{n}❘H_{n}} \right)*{{PF}\left( {H_{n - 1},H_{n}} \right)}} \end{matrix}$ therefore: $\begin{matrix} \left. {{F\left( {M,H} \right)} = {F\left( {M_{({1,n})},H_{({1,n})}} \right)}} \right) \\ {= {{F\left( {M_{({1,{n - 1}})},H_{({1,{n - 1}})}} \right)}*{P\left( {M_{n}❘H_{n}} \right)}*{{PF}\left( {H_{n - 1},H_{n}} \right)}}} \end{matrix}$ Thus, it is possible to reduce the calculation on n snips to the calculation on n-I snips.

For H=(H₁, . . . H_(n)) hypothesis on n snips: $\begin{matrix} {{\max\limits_{H}{F\left( {M,H} \right)}} = {\max\limits_{({H_{({1,{n\quad i\quad 1}})},H_{n}})}{F\left( {M,\left( {H_{({1,{n - 1}})},H_{n}} \right)} \right.}}} \\ {= {\max\limits_{H_{n}}{\max\limits_{H_{({1,{n - 1}})}}{F\left( {M,\left( {H_{({1,{n - 1}})},H_{n}} \right)} \right.}}}} \\ {= {\max\limits_{H_{n}}{G\left( {M_{({1,n})},H_{n}} \right)}}} \end{matrix}$ where $\begin{matrix} {{G\left( {M_{({1,n})},H_{n}} \right)} = {\max\limits_{H_{({1,{n - 1}})}}{F\left( {M_{({1,n})},\left( {H_{({1,{n - 1}})},H_{n}} \right)} \right.}}} \\ {= {\max\limits_{H_{({1,{n - 1}})}}{{F\left( {M_{({1,{n - 1}})},H_{({1,{n - 1}})}} \right)}*}}} \\ {P\left( {M_{n}❘H_{n}} \right)*{{PF}\left( {H_{n - 1},H_{n}} \right)}} \\ {= {{P\left( {M_{n}❘H_{n}} \right)}*{\max\limits_{H_{({1,{n - 1}})}}{{F\left( {M_{({1,{n - 1}})},H_{({1,{n - 1}})}} \right)}*}}}} \\ {{PF}\left( {H_{n - 1},H_{n}} \right)} \\ {= {{P\left( {M_{n}❘H_{n}} \right)}*{\max\limits_{H_{n - 1}}{\max\limits_{H_{({1,{n - 2}})}}{F\left( {M_{({1,{n - 1}})},{\left( {H_{({1,{n - 2}})},H_{n - 1}} \right)*}} \right.}}}}} \\ {{PF}\left( {H_{n - 1},H_{n}} \right)} \\ {= {{P\left( {M_{n}❘H_{n}} \right)}*{\max\limits_{H_{n - 1}}{{{PF}\left( {H_{n - 1},H_{n}} \right)}*{G\left( {M_{({1,{n - 1}})},H_{n -}} \right)}}}}} \end{matrix}$ In summary: ${\max\limits_{H}{F\left( {M,H} \right)}} = {\max\limits_{H_{n}}{G\left( {M_{({1,n})},H_{n}} \right)}}$ where G can be found recursively:, for i=2, . . . n ${G\left( {M_{({1,n})},H_{n}} \right)} = {{P\left( {M_{n}❘H_{n}} \right)}*{\max\limits_{H_{n - 1}}\left\lfloor \begin{matrix} {{PF}\left( {H_{n - 1},H_{n}} \right)*} \\ {G\left( {M_{({1,{n - 1}})},H_{n - 1}} \right)} \end{matrix} \right\rfloor}}$ and G(M_((1, 1)), H₁) = 0.25 * P(M₁❘H₁).

The best hypothesis can be found by following the following algorithm:

-   Step 1: For I=1, generate 4 hypotheses for H₁, make G(M₁|H₁) for     each of these, and remember G₁,G₂,G₃,G₄ -   Step 2: For I=2: generate 4 hypothesis for H₂, make G(M_((1,2))|H₂)     using the above formula:     ${{G\left( {M_{({1,2})},H_{2}} \right)} = {{P\left( {M_{2}❘H_{2}} \right)}*{\max\limits_{H_{1}}\left\lbrack {{{PF}\left( {H_{1},H_{2}} \right)}*{G\left( {M_{1},H_{1}} \right)}} \right\rbrack}}},$     remember these new four G_(n). Repeat step 2 for I=k with     k_(i)=k_(i−1)+1 until k=n: generate 4 hypothesis for H_(k), make     G(M_((1,k))|H_(k))     ${G\left( {M_{({1,k})},H_{k}} \right)} = {{P\left( {M_{k}❘H_{k}} \right)}*{\max\limits_{H_{k - 1}}\left\lfloor \begin{matrix}     {{PF}\left( {H_{k - 1},H_{k}} \right)*} \\     {G\left( {M_{({1,{k - 1}})},H_{k - 1}} \right)}     \end{matrix} \right\rfloor}}$     and remember these four G_(n).

Since there are only four hypotheses to remember at any time, and a constant number of operations, the algorithm is linear.

To find P(M): P(H|M)=P(M|H)*P(H)/P(M)=F(M,H)/P(M)) As above: $\begin{matrix} {{P(M)} = {P\left( M_{({1,k})} \right)}} \\ {= {\sum\limits_{H_{({1,k})}}{{P\left( {M_{({1,k})}\text{❘}H_{({1,k})}} \right)}*{P\left( H_{({1,k})} \right)}}}} \\ {= {\sum\limits_{H_{k}}{{P\left( {M_{K}\text{❘}H_{k}} \right)}{\sum\limits_{H_{({1,{k - 1}})}}{{P\left( {M_{({1,{k - 1}})}\text{❘}H_{({1,{k - 1}})}} \right)}*}}}}} \\ {{P\left( H_{({1,{k - 1}})} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}} \\ {= {\sum\limits_{H_{k}}{{P\left( {M_{K}\text{❘}H_{k}} \right)}*{W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)}}}} \end{matrix}$ ${{where}\quad{W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)}} = {\sum\limits_{H_{({1,{k - 1}})}}{{P\left( {M_{({1,{k - 1}})}\text{❘}H_{({1,{k - 1}})}} \right)}*{P\left( H_{({1,{k - 1}})} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}}}$ W(M,H) can be solved by using recursion: $\begin{matrix} {{W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)} = {\sum\limits_{H_{({1,{k - 1}})}}{{P\left( {M_{({1,{k - 1}})}\text{❘}H_{({1,{k - 1}})}} \right)}*{P\left( H_{({1,{k - 1}})} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}}}} \\ {= {\sum\limits_{H_{k - 1}}{{P\left( {M_{k - 1}\text{❘}H_{k - 1}} \right)}{\sum\limits_{H_{({1,{k - 2}})}}{{P\left( {M_{({1,{k - 2}})}\text{❘}H_{({1,{k - 2}})}} \right)}*}}}}} \\ {{P\left( H_{({1,{k - 2}})} \right)}*{{PF}\left( {H_{k - 2},H_{k - 1}} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}} \\ {= {\sum\limits_{H_{k - 1}}{{P\left( {M_{k - 1}\text{❘}H_{k - 1}} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}*{W\left( {M_{({1,{k - 2}})}\text{❘}H_{k - 1}} \right)}}}} \end{matrix}$ Therefore: ${W\left( {M_{({1,{k - 1}})}\text{❘}H_{k}} \right)} = {\sum\limits_{H_{k - 1}}{{P\left( {M_{k - 1}\text{❘}H_{k - 1}} \right)}*{{PF}\left( {H_{k - 1},H_{k}} \right)}*{W\left( {M_{({1,{k - 2}})}\text{❘}H_{k - 1}} \right)}}}$ ${{and}\quad{W\left( {M_{({1,1})}\text{❘}H_{2}} \right)}} = {\sum\limits_{H_{1}}{{P\left( {M_{1}\text{❘}H_{1}} \right)}*0.25*{{PF}\left( {H_{1},H_{2}} \right)}}}$

The algorithm is similar to the case above, where i=2:n and in each step a new set of W(i) are generated until the final step yields the optimized W.

Deriving the p₁, p₂, pp₁, pp₂ Values from d₁, d₂, h, pd₁, pd₂, ph

For the purpose of explanation, this section will focus on the paternal diploid and haploid data, but it is important to note that maternal data can be treated similarly. Let:

-   -   d₁, d₂—allele calls on the diploid measurements     -   h—allele call on the haploid measurement     -   p_(d1), p_(d2)—probabilities of a correct allele call on the         each of the diploid measurements     -   p_(h)—probability of a correct allele call on the haploid         measurement         These data should be mapped to the following input parameters         for disclosed algorithm:     -   p₁—allele corresponding to haploid cell and one of the diploid         cells     -   p₂—allele corresponding to the remaining diploid cell     -   p_(pi), p_(p2)—probabilities of correct allele call         Since h corresponds to d₁, then to find the value of p₁ it is         necessary to use h and d₁. Then p₂ will automatically correspond         to d₂. Similarly, if h corresponds to d₂, then to find the value         of p₁ it is necessary to use h and d₂, and thne p2 will         correspond to d₁.

The term “correspond” is used since it can mean either “be equal” or “originate with higher probability from” depending on different measurement outcomes and population frequency.

The goal of the algorithm is to calculate probabilities of “true” allele values hidden beyond results of raw measurement h, d₁, d₂, p_(h), p_(d1), P_(d2) and population frequencies.

The basic algorithm steps are the following:

-   -   (i) determine whether h corresponds to d₁ or d₂ based on h, d₁,         d₂, P_(h), P_(d1), P_(d2) values and the population frequency         data     -   (ii) assign the allele calls to p₁ and P₂; calculate the         probabilities p_(p1) and p_(p2) based on step (1)         Assigning h to d₁ or d₂

Establish two hypotheses:

H₁: h corresponds to d₁ (h originates from d₁)

H₂: h corresponds to d₂ (h originates from d₂)

The task is to calculate probabilities of these two hypotheses given the measurement M: P(H₁/M(h,d₁,d₂,p_(h),p_(d1),p_(d2))) and P(H₂/M(h,d₁,d₂,p_(h),p_(d1),p_(d2))) (To simplify the text, these will be referred to as P(H₁/M) and P(H₂/M)) hereafter.

In order to calculate these probabilities, apply the Bayesian rule: ${{{P\left( {H_{1}\text{❘}M} \right)} = \frac{{P\left( {M\text{❘}H_{1}} \right)}*{P\left( H_{1} \right)}}{P(M)}};{{P\left( {H_{2}\text{❘}M} \right)} = \frac{{P\left( {M\text{❘}H_{2}} \right)}*{P\left( H_{2} \right)}}{P(M)}}},$ where P(M)=P(M/H,)*P(H₁)+P(M/H₂)*P(H₂). Since hypotheses H1and H2 are equally likely, P(H₁)=P(H₂)=0.5, therefore: ${{P\left( {H_{1}\text{❘}M} \right)} = \frac{P\left( {M\text{❘}H_{1}} \right)}{{P\left( {M\text{❘}H_{1}} \right)} + {P\left( {M\text{❘}H_{2}} \right)}}}\quad$   and   ${P\left( {H_{2}\text{❘}M} \right)} = \frac{P\left( {M\text{❘}H_{2}} \right)}{{P\left( {M\text{❘}H_{1}} \right)} + {P\left( {M\text{❘}H_{2}} \right)}}$

In order to calculate P(M/H₁) and P(M/H₂), one must consider the set of all possible values of diploid outcomes d₁ and d₂, Ω={AA,AC, . . . ,GG}, i.e. any combination of A,C,T,G, so called underlying states. When the hypotheses are applied to the underlying states (i.e. accompany the assumed value of h based on hypothesis H₁ or H₂, to values d, and d₂), the following tables of all possible combinations (states S={s₁,s₂, . . . ,S₁₆}) of “true values” H, D₁ and D₂ for h, d, and d₂, can be generated, respectively. These are listed here: Hypothesis Ω = {AA, Hypothesis Ω = {AA, H₁: h = d₁ AC, . . . , GG} H₂: h = d₂ AC, . . . GG} state H D₁ D₂ state H D₁ D₂ s₁ A A A s₁ A A A s₂ A A C s₂ C A C s₃ A A T s₃ T A T s₄ A A G s₄ G A G s₅ C C A s₅ A C A s₆ C C C s₆ C C C s₇ C C T s₇ T C T s₈ C C G s₈ G C G s₉ T T A s₉ A T A s₁₀ T T C s₁₀ C T C s₁₁ T T T s₁₁ T T T s₁₂ T T G s₁₂ G T G s₁₃ G G A s₁₃ A G A s₁₄ G G C s₁₄ C G C s₁₅ G G T s₁₅ T G T s₁₆ G G G s₁₆ G G G Since the “true values” H, D₁ and D₂ are unknown, and only the raw measurement outcomes h, d₁, d₂, P_(h), P_(d1), p_(d2), are known, the calculation of the P(M/H₁) and P(M/H₂) over the entire set Ω must be performed in the following manner: ${P\left( {M\text{❘}H_{1}} \right)} = {\sum\limits_{{({D_{1},D_{2}})} \in \Omega}{{P\left( {{{{{M\left( {h,d_{1},d_{2}} \right)}\text{❘}H_{1}}\&}\quad D_{1}},D_{2}} \right)}*{P\left( {D_{1},D_{2}} \right)}}}$ ${P\left( {M\text{❘}H_{2}} \right)} = {\sum\limits_{{({D_{1},D_{2}})} \in \Omega}{{P\left( {{{{{M\left( {h,d_{1},d_{2}} \right)}\text{❘}H_{2}}\&}\quad D_{1}},D_{2}} \right)}*{P\left( {D_{1},D_{2}} \right)}}}$ If, for the purpose of the calculation, one assuems that d₁ and d₂, as well as P_(d1) and p_(d2) are independent variables, it can be shown that: ${P\left( {M\text{❘}H_{1}} \right)} = {{\sum\limits_{\Omega}{{P\left( {{{{{M\left( {h,d_{1},d_{2}} \right)}\text{❘}H_{1}}\&}\quad D_{1}},D_{2}} \right)}*{P\left( {D_{1},D_{2}} \right)}}} = {\sum\limits_{S}{{P\left( {{M(h)}\text{❘}H} \right)}*{P\left( {{M\left( d_{1} \right)}\text{❘}D_{1}} \right)}*{P\left( {{M\left( d_{2} \right)}\text{❘}D_{2}} \right)}*{P\left( D_{1} \right)}*{P\left( D_{2} \right)}}}}$ Consider the first three terms under the last sum above: P(M(x)/X), for x in {h,d₁,d₂}.

The calculation of the probability of correct allele call (hitting the “true allele value”) is based on measurement of outcome x given the true value of allele X. If the measured value x and the true value X are equal, that probability is p_(x) (the probability of correct measurement). If x and X are different, that probability is (1−p_(x))/3. For example, calculate the probability that the “true value” C is found under the conditions that X=C, and the measured value is x=A. The probability of getting A is p_(x). The probability of getting C, T or G is (1−p_(x)). So, the probability of hitting C is (1−p_(x))/3, since one can assume that C, T and G are equally likely.

If the indicator variable I_(x) is included in the calculation, where I_(x)=1 if x=X and I_(x)=0 if x≠X, the probabilities are as follows: P(M(x)/X)=I _({x=X}) *p _(x)+(1−I _({x=x}))*(⅓)*(1−p _(x)), x in {h,d ₁ ,d ₂} Now consider the last two terms in P(M|H₁). P(D₁) and P(D₂) are population frequencies of alleles A,C,T and G, that may be known from prior knowledge.

Consider the expression shown above for a particular state S₂, given the particular measurement M(h=A,d₁=G,d₂=C): $\begin{matrix} {\begin{matrix} {{P\left( {{M(h)}\text{❘}H} \right)}*P\left( {{M\left( d_{1} \right)}\text{❘}D_{1}} \right)*} \\ {P\left( {{M\left( d_{2} \right)}\text{❘}D_{2}} \right)*{P\left( D_{1} \right)}*{P\left( D_{2} \right)}} \end{matrix} = {{P\left( {{M(h)} = {{A\text{❘}H} = A}} \right)}*}} \\ {{P\left( {{M\left( d_{1} \right)} = {{G\text{❘}D_{1}} = A}} \right)}*} \\ {{P\left( {{M\left( d_{2} \right)} = {{C\text{❘}D_{2}} = C}} \right)}*} \\ {{P\left( {D_{1} = A} \right)}*{P\left( {D_{2} = C} \right)}} \\ {= {p_{h}*\left( {\left( {1 - p_{d\quad 1}} \right)/3} \right)*p_{d\quad 2}*}} \\ {{f\left( {D_{1} = A} \right)}*{f\left( {D_{2} = C} \right)}} \end{matrix}$

Similarly, calculate (1) given the particular measurement (in this case M(h=A,d₁=G,d₂=C)) for remaining 15 states and sum over the set Ω.

Now P(M/H₁) and P(M/H₂) have been calculated. Finally, calculate P(H₁/M) and P(H₁/M) as described before: ${{P\left( {H_{1}\text{❘}M} \right)} = \frac{P\left( {M\text{❘}H_{1}} \right)}{{P\left( {M\text{❘}H_{1}} \right)} + {P\left( {M\text{❘}H_{2}} \right)}}}\quad$ ${P\left( {H_{2}\text{❘}M} \right)} = \frac{P\left( {M\text{❘}H_{2}} \right)}{{P\left( {M\text{❘}H_{1}} \right)} + {P\left( {M\text{❘}H_{2}} \right)}}$ Assigning the Allele Calls and Corresponding Probabilities

Now establish four different hypotheses:

-   H_(p2A): “true value” of p₂ is A -   H_(p2C): “true value” of p₂ is C -   H_(p2T): “true value” of p₂ is T -   H_(p2G): “true value” of p₂ is G     and calculate P(H_(p2A)/M), P(H_(p2C)/M), P(H_(p2T)/M),     P(H_(p2G)/M). The highest value determines the particular allele     call and corresponding probability.

Since the origin of p₂ is unknown (it is derived from d, with probability of P(H₂/M) and from d₂ with probability P(H₁/M)), one must consider both cases that p₂ allele originates from d, or d₂. For Hypothesis H_(A), applying Bayes rule, give: P(H _(p2A) |M)=P(H _(p2A) |M, H ₁)*P(H ₁ |M)+P(H _(p2A) |M, H ₂)*P(H ₂ |M)

P(H₁/M) and P(H₂/M) have already been determined in step 1. By Bayes rule: ${P\left( {{H_{p\quad 2\quad A}\text{❘}H_{1}},M} \right)} = \frac{{P\left( {{M\text{❘}H_{1}},H_{p\quad 2\quad A}} \right)}*{P\left( {H_{1},H_{p\quad 2\quad A}} \right)}}{P\left( {H_{1},M} \right)}$ Since H₁ implies that p₂ originates from d₂: P(M|H ₁ ,H _(p2A))=P(M(d ₂)|D ₂ =A)=I _({d) ₂ _(=D) _(2}) *p _(d2)+(1−I _({d) ₂ _(=D) _(2}) )*(1−p _(d2))/3 P(H₁,M/H_(p2A))=P(M(d₂)/D₂=A)=I_({d2=D2})*p_(d2)+(1−I{d2=D2})*(⅓)*(1−p_(d2)), as described before. P(H_(p2A))=P(D₂=A)=f_(d2)(A), where f_(d2)(A) is obtained from population frequency data. P(H ₁ ,M)=P(H ₁ ,M/H _(p2A))*P(H _(p2A))+P(H ₁ ,M/H _(p2C))*P(H _(p2C))+P(H ₁ ,M/H _(p2T))*P(H _(p2T))+P(H ₁ ,M/H _(p2G))*P(H _(p2G)).

Similarly, calculate P(H_(p2A)&H₂/M).

-   P(H_(p2A)/M)=P(H_(p2A)&H₁/M)+P(H_(p2A)&H₂/M), therefore the     probability that p₂ is equal to A has been calcualted. Repeat the     calculation for C,T, and G. The highest value will give the answer     of p₂ allele call and the corresponding probability.     Assigning the Allele Call to p₁ (Allele Corresponding to the Haploid     Cell and One of the Diploid Cells)

As before, we establish four different hypotheses:

-   H_(p1A): “true value” of p₁ is A -   H_(p1C): “true value” of p₁ is C -   H_(p1T): “true value” of p₁ is T -   H_(p1G): “true value” of p₁ is G     and calculate P(H_(p1A)/M), P(H_(p1C)/M), P(H_(p1T)/M), P(H_(p1G)/M)

Here is an elaboration of H_(p1A). In the “true case” case, p₁ will be equal to A only if the haploid and the corresponding diploid cell are equal to A. Therefore, in order to calculate p₁ and p_(p1) one must consider situations where haploid and corresponding diploid cell are equal. So, the hypothesis H_(P1A): the “true value” of p₁ is A and becomes H_(hdA): the “true value” of the haploid cell and corresponding diploid cell is A.

Since the origin of h is unknown (it is derived from d₁ with probability of P(H₁/M) and from d₂ with probability P(H₂/M)), one must consider both cases, that h allele originates from d₁ or d₂, and implement that in determination of p₁. That means, using Bayes rule: P(H _(hdA) |M)=P(H _(hdA) |M,H₁)*P(H ₁ |M)+P(H _(hdA) |M ,H ₂)*P(H ₂ |M)

As before, P(H₁/M) and P(H₂/M) are known from previous calculations. ${P\left( {\left. H_{{hd}\quad A} \middle| H_{1} \right.,M} \right)} = \frac{{P\left( {H_{1},\left. M \middle| H_{hdA} \right.} \right)}*{P\left( H_{hdA} \right)}}{P\left( {H_{1},M} \right)}$ $\begin{matrix} {{P\left( {H_{1},{M/H_{hdA}}} \right)} = {{P\left( {{{M(h)}/H} = A} \right)}*{P\left( {{{M\left( d_{1} \right)}/D_{1}} = A} \right)}}} \\ {= {\left\lbrack {{I_{\{{h = H}\}}*p_{h}} + {\left( {1 - I_{\{{h = H}\}}} \right)*\left( {1/3} \right)*\left( {1 - p_{h}} \right)}} \right\rbrack*}} \\ {\left\lbrack {{I_{\{{{d\quad 1} = {D\quad 1}}\}}*p_{d\quad 1}} + {\left( {1 - I_{\{{{d\quad 1} = {D\quad 1}}\}}} \right)*\left( {1/3} \right)*\left( {1 - p_{d\quad 1}} \right)}} \right\rbrack,} \end{matrix}$ since H1 implies that p₁ originates from d₁. P(H_(hdA))=P(h=A)*P(D₁=A)=f_(h)(A)*f_(d1)(A), where f_(h)(A) and f_(d2)(A) are obtained from population frequency data. P(H₁,M)=P(H₁,M/H_(hdA))*P(H_(hdA))+P(H₁,M/H_(hdC))*P(H_(hdC))+P(H₁,M/H_(hdT))*P(H_(hdT))+P(H₁,M/H_(hdG))*P(H_(hdG))

Similarly, calculate P(H_(hdA)&H₂/M).

-   P(H_(hdA)/M)=P(H_(hdA)&H₁/M)+P(H_(hdA)&H₂/M) and now we have     calculated the probability that p₁ is equal to A. Repeat the     calculation for C,T, and G. The highest value will give the answer     of p₁ allele call and corresponding probability.

Example Input

Two input examples are shown. The first example is of a set of SNPs with a low tendency to cosegregate, that is, SNPs spread throughout a chromosome, and the input data is shown in Table 2. The second example is of a set of SNPs with a high tendency to cosegregate, that is SNPs clustered on a chromosome, and the input data is shown in Table 3. Both sets of data include an individual's measured SNP data, the individual's parents SNP data, and the corresponding confidence values. Note that this data is actual data measured from actual people. Each row represent measurements for one particular SNP location. The columns contain the data denoted by the column header. The key to the abbreviations in the column headers is as follows:

-   -   family_id=the unique id for each person (included for clerical         reasons)     -   snp_id =the SNP identification number     -   e1, e2 =the SNP nucleotide values for the embryo     -   p1, p2=the SNP nucleotide values for the father     -   m1, m2=the SNP nucleotide values for the mother     -   pe1, pe2=the measurement accuracy for e1,e2     -   pp1, pp2=the measurement accuracy for p1,p2     -   pm1, pm2=the measurement accuracy for m1,m2

EXAMPLE OUTPUT

The two examples of output data are shown in Table 4 and Table 5, and correspond to the output data from the data given in Table 2 and Table 3 respectively. Both tables show an individual's measured SNP data, the individual's parents SNP data, the most likely true value of the individual's SNP data, and the corresponding confidences. Each row represents the data corresponding to one particular SNP. The columns contain the data denoted by the column header. The key to the abbreviations in the column headers is as follows:

-   -   snp_id =the SNP identification number     -   true_value =the proposed nucleotide value for e1,e2     -   true_hyp =the hypothesis for the origin of e1,e2     -   ee=the measured SNP nucleotide values for e1,e2     -   pp=the measured SNP nucleotide values for p1,p2     -   mm=the measured SNP nucleotide values for m1,m2     -   HypProb=the probability of the final hypothesis. There is only         one number for the output, but due to the excel column         structure, this number is replicated in all rows.

Note that this algorithm can be implemented manually, or by a computer. Table 2 and Table 3 show examples of input data for a computer implemented version of the method. Table 4 shows the output data for the input data shown in Table 2. Table 5 shows the output data for the input data shown in Table 3.

Simulation Algorithm

Below is a second simulation which was done to ensure the integrity of the system, and to assess the actual efficacy of the algorithm in a wider variety of situations. In order to do this, 10,000 full system simulations were run. This involves randomly creating parental genetic data, emulating meiosis in silico to generate embryonic data, simulating incomplete measurement of the embryonic data, and then running the method disclosed herein to clean the simulated measured embryonic data, and then comparing the simulated cleaned data with the simulated real data. A more detailed explanation of the simulation is given below, and the visual representation of the flow of events is given in FIG. 18. Two different implementations of the theory were tested. A fuller explanation is given below.

Simulation Algorithms for DH and PS and Results

For both algorithms, the initial input variables are:

-   -   (i) the list of SNPs to test,     -   (ii) the population frequency of the maternal (popfreqlistMM)         and paternal (popfreqlistPP) chromosomes,     -   (iii) the probabilities of a correct allele call for haploid         measurement (ph,pe), and for unordered diploid measurements         (pd).

These values should be fixed based on the results from empirical data (population frequency) on relevant SNPs, and from measuring instrumentation performance (ph,pd,pe). The simulation was run for several scenarios such as most likely (informed), uniform (uninformed) and very unlikely (extreme case).

Once the above static parameters are fixed , crossover probabilities given the particular SNPs are the same for all the simulations, and will be derived ahead of the time given the databases for snip location(SNIPLOC_NAME_MAT) and genetic distance (HAPLOC_NAME_MAT).

-   [crossprob,snips]=GetCrossProb(snips,SNIPLOC_NAME_MAT,parameters,HAPLOC_NAME_MAT);     Preliminary Simulation Loop

The preliminary simulation loop is to demonstrate that the genetic data that will be used for the full simulation is realistic. Steps 1 through 5 were repeated 10,000 times. Note that this simulation can be run for either or both parents; the steps are identical. In this case, the simulation will be run for the paternal case for the purposes of illustration, and the references to FIG. 18 will also include the corresponding maternal entry in FIG. 18 in parentheses. This simulation was also run using Matlab.

Step 1: Generate Original Parental Diploid Cells (P1,P2),

[P1,P2]=GenerateOriginalChromosomes(snips,popfreqlistPP); 1801 (1802)

Generate original paternal cells depending on the population frequency for each SNP for father cells.

Step 2: Generate Haploid and Unordered Diploid Data for DHAlgo

Simulate crossover of the parental chromosomes 1803 to give two sets of chromosomes, crossed over: P1C1, P2C1 and P1C2, P2C2; 1804 (1805). Pick one of the father alleles after the crossover 1806 (from the first set) for haploid allele HP 1807 (1808) in this case P1 (since there is no difference which one), and mix up the order in the diploid alleles to get (D1P,D2P) 1807 (1808).

HP=PickOne(P1C1,P2C1);

[D1P,D2P]=Jumble(P1,P2).

Step 3: Introduce Error to the Original Dataset in Order to Simulate Measurements

Based on given probabilities of correct measurement (ph-haploid, pd- diploid measurement), introduce error into the measurements to give the simulated measured parental data 1811 (1812).

hp=MakeError(HP,ph);

d1p =MakeError(D1P,pd);

d2p =MakeError(D2P,pd).

Step 4: Apply DHAlgo to get (p1,p2), (pp1,pp2)

DHAlgo takes alleles from haploid cell and an unordered alleles from diploid cell and returns the most likely ordered diploid alleles that gave rise to these. DHAlgo attempts to rebuild (P1,P2), also returns estimation error for father (pp1,pp2). For comparison, the empirical algorithm that does simple allele matching is also used. The goal is to compare how much better is the disclosed algorithm, compared to the simple empirical algorithm. [p1, p2, pp1, pp2]=DHAlgo(hp,d1p,d2p,ph,pd,snips,popfreqlistPP,‘DH’); [p1s, p2s, pp1s, pp2s]=DHAlgo(hp,d1p,d2p,ph,pd,snips,popfreqlistPP,‘ST’);

Step 5: Collect Statistics for the Run

Compare (P1,P2) to derived (p1,p2).

-   [P1cmp(:,i), P2cmp(:,i),P1prob(:,i), P2prob(:,i),P1mn(i),     P2mn(i)]=DHSimValidate(P1,P2,p1,p2,pp1,pp2);

Note: (P1S_(i),P2S_(i),P1P_(i),P2P_(i),P1A_(i),P2A_(i))=(I_({P1=p1)}), I_({P2=p2}), p_(p1),p_(p2),p1_(acc), p2_(acc)), where I_({P1=p1}) is binary indicator array for estimation of DH algorithm accuracy for all the SNPs, similarly, for I_({P2=p2}). P_(p1),p_(p2) are probabilities of a correct allele call derived from the algorithm, and p1_(acc)=mean(I_({P1=p1})), i.e. average accuracy for this run for p1, similar for p2_(acc).

Preliminary Simulation Results

Ten thousand simulations were used to estimate the algorithm accuracy DHAccuracy.P1=mean(P1A_(i)), DHAccuracy.P2 =mean(P2Ai), which shows the overall accuracy of the DH algorithm from P1,P2. On an individual SNP basis, the average accuracy on each SNP SNPAcc.P1=mean(P1S_(i)) should agree with the average of the estimated probability of correctly measuring that SNP, SNPProb.P1=mean(P2P_(i)), i.e. if the algorithm works correctly, the value for SNPAcc.P1should correspond closely to SNPProb.P1. The relationship between these two is reflected by their correlation.

The 10000 loops of the simulation were run for different setup scenarios:

-   (1) The underlying population frequency was given by existing     genotyping data which is more realistic, and uniform population     frequencies where A,C,T,G have the same probability on each SNP. -   (2) Several combinations for measurement accuracy for haploid and     unordered diploid measurements (ph,pd). Varying assumptions were     made; that the measurements are both very accurate (0.95,0.95), less     accurate (0.75,0.75) and inaccurate or random (0.25,0.25), as well     as unbalanced combinations of (0.9, 0.5), (0.5, 0.9). What might be     closest to reality may be accuracies of approximately 0.6 to 0.8. -   (3) The simulation was run in all these cases for both the     DHAlgorithm and simple matching

STAlgorithm, in order to assess the performance of the disclosed algorithm. The results of all these runs are summarized in Table 6.

The disclosed algorithm is performs better than the existing empirical algorithm in these simulations, especially for the realistic cases of non-uniform population frequency, and unbalanced or reduced probabilities of correct measurements. It has also been confirmed that our estimates of the algorithm accuracy for individual SNPs are very good in these cases, since the correlation between the estimated accuracy of correct allele call and simulation average accuracy is around 99%, with average ratio of 1.

In the most realistic case, for data population frequency and (ph,pd)=(0.6, 0.8), the average percent of correctly retrieved SNPs for (P1,P2) is (0.852, 0.816) in implementation 1, and (0.601, 0.673 in implementation 2.

Note that for Table 6 and Table 7 the rows beginning with “data” use population frequency data was taken from empirical results, while the rows beginning with “uniform” assume uniform populations.

It is important to note that in Table 6 and Table 7 the accuracy is defined as the average percent of SNPs where the correct SNP call was made and the correct chromosome of origin was identified. It is also important to note that these simulations reflect two possible implementations of the algorithm. There may be other ways to implement the algorithm that may give better results. This simulation is only meant to demonstrate that the method can be reduced to practice.

Full Simulation Loop

Steps 1-8 were repeated 10000 times. This is the simulation to test the full disclosed method to clean measured genetic data for a target individual using genetic data measured from related individuals, in this case, the parents. This simulation was run using Matlab.

Step 1. Generate Original Parental Diploid Cells (P1,P2), (M1, M2)

[P1,P2]=GenerateOriginalChromosomes(snips,popfreqlistPP); (1801)

[Ml,M2]=GenerateOriginalChromosomes(snips,popfreqlistMM); (1802)

Generate original parental cells depending on the population frequency for each SNP for mother and father cells.

Step 2: Crossover Parental Cells (P1C,P2C), (M1C,M2C) (1803)

Generate two sets of paternal cells with crossovers: first to get (P1C1,P2C1) used in DHAlgo, and second time to get (P1C2,P2C2) used in PSAlgo. (1804)

Generate two sets of maternal cells with crossovers: first to get (M1C1,M2C1) used in DHAlgo, and (M1C2,M2C2) used in PSAlgo. (1805)

[P1C1,P2C1]=Cross(P1,P2,snips,fullprob);

[P1C2,P2C2]=Cross(P1,P2,snips,fullprob);

-   [M1C1,M2C1]=Cross(M1,M2,snips,fullprob);

[M1C2,M2C2]=Cross(M1,M2,snips,fullprob);

Step 3 Make Haploid Cell and Unordered Diploid Cells for DHAlgo (1806)

Pick one of the sets of paternal cells (1804, first set) for haploid cell HP, and mix up the order in the diploid cell to get (D1P,D2P) (1807). Do the same for mother cells (1805, first set) to get MH, (D1M,D2M). (1808).

HP=PickOne(P1C1,P2C1);

HM=PickOne(M1C1,M2C1);

[D1P,D2P]=Jumble(P1,P2);

[D1M,D2M]=Jumble(M1,M2);

Step 4: Make Diploid Embryo Cell (1809)

Pick one of the paternal cells (1804, second set) and one of the maternal cells (1805, second set) for embryo cell. Mix up the order for measurement purposes.

E1=PickOne(P1C2,P2C2);

E2 =PickOne(M1C2,M2C2);

[E1J,E2J] =Jumble(E1,E2); (1810)

Step 5: Introduce Error to the Measurements (1811, 1812, 1813)

Based on given measurement error (ph-haploid cells, pd- unordered diploid cells, pe-embryo cells), introduce error into the measurements.

hp=MakeError(HP,ph); (1811)

d1p=MakeError(D1P,pd); (1811)

d2p=MakeError(D2P,pd); (1811)

hm=MakeError(HM,ph); (1812)

d1m=MakeError(D1M,pd); (1812)

d2m=MakeError(D2M,pd); (1812)

e1=MakeError(E1J,pe1); (1813)

e2=MakeError(E2J,pe2); (1813)

Step 6: Apply DHAlgo to Get (p1,p2), (m1,m2), (pp1,pp2), (pm1,pm2)

DHAlgo takes a haploid cell and an unordered diplod cell and returns the most likely ordered diploid cell that gave rise to these. DHAlgo attempts to rebuild (P1C1,P2C1) for father and (M1C1,M2C1) for mother chromosomes, also returns estimation error for father (pp1,pp2) and mother (pm1,pm2) cells.

[p1,p2,pp1,pp2]=DHAlgo(hp,d1p,d2p,snips,popfreqlistPP); (1814)

[m1,m2,pm1,pm2]=DHAlgo(hm,d1m,d2m,snips,popfreqlistMM); (1815)

Step 7: Apply PSAlgo to Get (DE1,DE2) (1816)

PSAlgo takes rebuilt parent cells (p1,p2,m1,m2) and unordered measured embryo cell (e1,e2) to return most likely ordered true embryo cell (DE1,DE2). PS Algo attempts to rebuild (E1,E2).

[DE1,DE2,alldata]=PSAlgo(snips,e1,e2,p1,p2,m1,m2,pe,pp1,pp2,pm1,pm2,parameters,cr ossprob,popfreqlistPP,popreqlistMM);

Step 8: Collect Desired Statistics from this Simulation Run

Get statistics for the run:

-   simdata=SimValidate(alldata,DE1,DE2,P1,P2,M1,M2,E1,E2,p1,p2,m1,m2,e1,e2,pe,pe,pp1,pp     2,pm1,pm2);     Simulation Results

Ten thousand simulations were run and the final estimates for the algorithm accuracy PSAccuracy.E1=mean(E1A_(i)), PSAccuracy.E2=mean(E2A_(i)), which tells us the overall accuracy of the PS algorithm from E1,E2 were calculated. On an individual SNP basis, the average accuracy on each SNP SNPAcc.E1=mean(E1S_(i)) should agree with the average of the estimated probability of correctly measuring that SNP, SNPProb.E1=mean(E2P_(i)), i.e. if the algorithm is written correctly, then SNPAcc.E1 should be observed to correlate to SNPProb.E1. The relationship between these two is reflected by their correlation.

Ten thousand loops of the simulation has been run for different setup scenarios:

-   (1) Underlying population frequency given by existing genotyping     data which is more realistic, and uniform population frequencies     where A,C,T,G have the same probability on each SNP. -   (2) Several combinations of measurement accuracy for haploid,     unordered diploid and embryo measurements (ph,pd,pe). A variety of     accuracies were simulated: very accurate (0.95,0.95,0.95), less     accurate (0.75,0.75,0.75) and inaccurate or random (0.25,0.25,0.25),     as well as unbalanced combinations of (0.9, 0.5,0.5), (0.5,     0.9,0.9). What may be closest to reality is approximately     (0.6,0.8,0.8). -   (3) We ran the simulation in all these cases for both our     PSAlgorithm and simple matching

STPSAlgorithm, in order to assess the performance of the disclosed algortihm. The results of these runs are summarized in the Table 7.

The disclosed algorithm is performs better than the existing empirical algorithm in these simulations, especially for the realistic cases of non-uniform population frequency, and unbalanced or reduced probabilities of correct measurements. It has also been shown that the estimates of the algorithm accuracy for individual SNPs are very good in these cases, since the correlation between the estimated accuracy of correct allele call and simulation average accuracy is around 99%, with average ratio of 1.

In the most realistic case, for data population frequency and (ph,pd,pe)=(0.6, 0.8, 0.8), the average percent of correctly retrieved SNPs for (E1,E2) is (0.777, 0.788) in implementation 1 and (0.835, 0.828) in implementation 2. As mentioned above, the number denoting the average accuracy of algorithm refers not only to the correct SNP call, but also the identification of correct parental origin of the SNP. To be effective, an algorithm must return better results than the algorithm that simply accepts the data as it is measured. One might be surprised to see that in some cases, the accuracy of the algorithm is lower than the listed accuracy of measurement. It is important to remember that for the purposes of this simulation a SNP call is considered accurate only if it is both called correctly, and also its parent and chromosome of origin is correctly identified. The chance of getting this correct by chance is considerably lower than the measurement accuracy.

Laboratory Techniques

There are many techniques available allowing the isolation of cells and DNA fragments for genotyping. The system and method described here can be applied to any of these techniques, specifically those involving the isolation of fetal cells or DNA fragments from maternal blood, or blastocysts from embryos in the context of IVF. It can be equally applied to genomic data in silico, i.e. not directly measured from genetic material.

In one embodiment of the system, this data can be acquired as described below.

Isolation of Cells

Adult diploid cells can be obtained from bulk tissue or blood samples. Adult diploid single cells can be obtained from whole blood samples using FACS, or fluorescence activated cell sorting. Adult haploid single sperm cells can also be isolated from sperm sample using FACS. Adult haploid single egg cells can be isolated in the context of egg harvesting during IVF procedures.

Isolation of the target single blastocysts from human embryos can be done following techniques common in in vitro fertilization clinics. Isolation of target fetal cells in maternal blood can be accomplished using monoclonal antibodies, or other techniques such as FACS or density gradient centrifugation.

DNA extraction also might entail non-standard methods for this application. Literature reports comparing various methods for DNA extraction have found that in some cases novel protocols, such as the using the addition of N-lauroylsarcosine, were found to be more efficient and produce the fewest false positives.

Amplification of Genomic DNA

Amplification of the genome can be accomplished by multiple methods including: ligation-mediated PCR (LM-PCR), degenerate oligonucleotide primer PCR (DOP-PCR), and multiple displacement amplification (MDA). Of the three methods, DOP-PCR reliably produces large quantities of DNA from small quantities of DNA, including single copies of chromosomes; this method may be most appropriate for genotyping the parental diploid data, where data fidelity is critical. MDA is the fastest method, producing hundred-fold amplification of DNA in a few hours; this method may be most appropriate for genotyping embryonic cells, or in other situations where time is of the essence.

Background amplification is a problem for each of these methods, since each method would potentially amplify contaminating DNA. Very tiny quantities of contamination can irreversibly poison the assay and give false data. Therefore, it is critical to use clean laboratory conditions, wherein pre- and post-amplification workflows are completely, physically separated. Clean, contamination free workflows for DNA amplification are now routine in industrial molecular biology, and simply require careful attention to detail.

Genotyping Assay and Hybridization

The genotyping of the amplified DNA can be done by many methods including molecular inversion probes (MIPs) such as Affymetrix's Genflex Tag Array, microarrays such as Affymetrix's 500K array or the Illumina Bead Arrays, or SNP genotyping assays such as Applied Bioscience's Taqman assay. The Affymetrix 500K array, MIPs/GenFlex, TaqMan and Illumina assay all require microgram quantities of DNA, so genotyping a single cell with either workflow would require some kind of amplification. Each of these techniques has various tradeoffs in terms of cost, quality of data, quantitative vs. qualitative data, customizability, time to complete the assay and the number of measurable SNPs, among others. An advantage of the 500K and Illumina arrays are the large number of SNPs on which it can gather data, roughly 250,000, as opposed to MIPs which can detect on the order of 10,000 SNPs, and the TaqMan assay which can detect even fewer. An advantage of the MIPs, TaqMan and Illumina assay over the 500K arrays is that they are inherently customizable, allowing the user to choose SNPs, whereas the 500K arrays do not permit such customization.

In the context of pre-implantation diagnosis during IVF, the inherent time limitations are significant; in this case it may be advantageous to sacrifice data quality for turn-around time. Although it has other clear advantages, the standard MIPs assay protocol is a relatively time-intensive process that typically takes 2.5 to three days to complete. In MIPs, annealing of probes to target DNA and post-amplification hybridization are particularly time-intensive, and any deviation from these times results in degradation in data quality. Probes anneal overnight (12-16 hours) to DNA sample. Post-amplification hybridization anneals to the arrays overnight (12-16 hours). A number of other steps before and after both annealing and amplification bring the total standard timeline of the protocol to 2.5 days. Optimization of the MIPs assay for speed could potentially reduce the process to fewer than 36 hours. Both the 500K arrays and the Illumina assays have a faster turnaround: approximately 1.5 to two days to generate highly reliable data in the standard protocol. Both of these methods are optimizable, and it is estimated that the turn-around time for the genotyping assay for the 500 k array and/or the Illumina assay could be reduced to less than 24 hours. Even faster is the Taqman assay which can be run in three hours. For all of these methods, the reduction in assay time will result in a reduction in data quality, however that is exactly what the disclosed invention is designed to address. Some available techniques that are faster are not particularly high-throughput, and therefore are not feasible for highly parallel prenatal genetic diagnosis at this time.

Naturally, in situations where the timing is critical, such as genotyping a blastocyst during IVF, the faster assays have a clear advantage over the slower assays, whereas in cases that do not have such time pressure, such as when genotyping the parental DNA before IVF has been initiated, other factors will predominate in choosing the appropriate method. For example, another tradeoff that exists from one technique to another is one of price versus data quality. It may make sense to use more expensive techniques that give high quality data for measurements that are more important, and less expensive techniques that give lower quality data for measurements where the fidelity is not critical. Any techniques which are developed to the point of allowing sufficiently rapid high-throughput genotyping could be used to genotype genetic material for use with this method.

Combinations of the Aspects of the Invention

As noted previously, given the benefit of this disclosure, there are more aspects and embodiments that may implement one or more of the systems, methods, and features, disclosed herein. Below is a short list of examples illustrating situations in which the various aspects of the disclosed invention can be combined in a plurality of ways. It is important to note that this list is not meant to be comprehensive; many other combinations of the aspects, methods, features and embodiments of this invention are possible.

One example is the system which may operate in an IVF laboratory (see FIG. 19) that would allow full genotyping of all viable embryos within the time constraints of the IVF procedure. This would require a turn-around time from egg fertilization to embryo implantation of under three days. This system may consist of parental genetic samples 1901 from IVF user (mother) 1902 and IVF user (father) 1903 being analyzed at IVF lab 1904 using a genotyping system. It may involve multiple eggs that are harvested from the mother 1902 and fertilized with sperm from the father 1903 to create multiple fertilized embryos 1905. It may involve a laboratory technician extracting a blastocyst for each embryo, amplifying the DNA of each blastocyst, and analyzing them using a high throughput genotyping system 1906. It may involve sending the genetic data from the parents and from the blastocyst to a secure data processing system 1907 which validates and cleans the embryonic genetic data. It may involve the cleaned embryonic data 1908 being operated on by a phenotyping algorithm 1909 to predict phenotype susceptibilities of each embryo. It may involve these predictions, along with relevant confidence levels, being sent to the physician 1910 who helps the IVF users 1902 and 1903 to select embryos for implantation in the mother 1901.

Another example could utilize a variety of genotyping measurement techniques in a way that would optimize the value of each. For example, a lab could use an technique that is expensive but can give high quality data in cases with low signal, such as Applied Bioscience's Taqman assay, to measure the target DNA, and use a technique that is less expensive but requires a greater amount of genetic material to give good quality data, such as Affymetrix's 500K Genechip, or MIPS, to measure the parental DNA.

Another example could be a situation in which a couple undergoing IVF treatment have eggs harvested from the woman, and fertilized with sperm from the man, producing eight viable embryos. A blastocyst is harvested from each embryo, and the genomic data from the blastocysts are measured using Taqman Genotyping Assay. Meanwhile, the diploid data is measured from tissue taken from both parents using Molecular Inversion Probes. Haploid data from one of the man's sperm, and one of the woman's eggs is also measured using MIPs. The genetic data of the parents is used to clean the SNP data of the eight blastocysts. The cleaned genetic data is then used to allow predictions to be made concerning the potential phenotypes of the embryos. Two embryos are selected which have the most promising profile, and allowed to implant in the woman's uterus.

Another example could be a situation where a pregnant woman whose husband has a family history of Tay-Sachs disease wants to know if the fetus she is carrying is genetically susceptible, but she does not want to undergo amniocentesis, as it carries a significant risk of miscarriage. She has her blood drawn, some fetal DNA is isolated from her blood, and that DNA is analyzed using MIPs. She and her husband had already had their full genomic data analyzed previously and it is available in silico. The doctor is able to use the in silico knowledge of the parental genomes and the method disclosed herein to clean the fetal DNA data, and check if the critical gene that is responsible for Tay-Sachs disease is present in the genome of the fetus.

Another example could be a situation where a 44-year old pregnant woman is concerned that the fetus she is carrying may have Downs Syndrome. She is wary of having an intrusive technique used for pre-natal diagnosis, given a personal history of miscarriages, so she chooses to have her blood analyzed. The health care practitioner is able to find fetal cells in the maternal blood sample, and using the method disclosed herein, together with the knowledge of the woman's own genetic data, is able to diagnose for aneuploidy.

Another example could be a situation where a couple are undergoing IVF treatment; they have eggs harvested from the woman, and fertilized with sperm from the man, producing nine viable embryos. A blastocyst is harvested from each embryo, and the genomic data from the blastocysts are measured using an Illumina Bead Assay. Meanwhile, the diploid data is measured from tissue taken from both parents using Molecular Inversion Probes. Haploid data from the father's sperm is measured using the same method. There were no extra eggs available from the mother, so bulk diploid tissue samples are taken from her own father and mother, and a sperm sample from her father. They are all analyzed using MIPs and the method disclosed herein is used to provide a genetic analysis for the mother's genome. That data is then used, along with the father's diploid and haploid data, to allow a highly accurate analysis of the genetic data of each of the blastocysts. Based on the phenotypic predictions, the couple chooses three embryos to implant.

Another example could be a situation where a racehorse breeder wants to increase the likelihood that the foals sired by his champion racehorse become champions themselves. He arranges for the desired mare to be impregnated by IVF, and uses genetic data from the stallion and the mare to clean the genetic data measured from the viable embryos. The cleaned embryonic genetic data allows the breeder to find relevant genotypic-phenotypic correlations and select the embryos for implantation that are most likely to produce a desirable racehorse.

Another example could be a situation where a pregnant woman wants to know whether the fetus she is carrying is predisposed towards any serious illness. The father has since passed away, and so the haploid and diploid data generated from the father's brother and the father's father are used to help clean the genetic data of the fetus, measured from fetal cells gathered during fetal blood sampling. A company contracted by the health care practitioner uses the cleaned fetal genetic data to provide a list of phenotypes that the fetus is likely to exhibit, along with the confidence of each prediction.

Another example could be an amniocentesis lab that must occasionally contend with contaminated fetal genetic data due to poor laboratory techniques. The disclosed method could be used to clean the contaminated fetal genetic data using maternal and paternal genetic data. One could imagine a situation where a laboratory is able to cut costs by relaxing sterility procedures, knowing that the disclosed method would be able to compensate for an increased rate of contaminating DNA.

Another example could be a situation in which a woman in her forties is undergoing IVF to get pregnant. She wants to screen the embryos to select the one(s) that are least likely to have a genetic illness, and are most likely to implant and carry to term. The IVF clinic she is using harvests a blastocyst from each of the viable embryos, and uses standard procedures to amplify the DNA, and measure key SNPs. The technician then uses the methods disclosed herein to screen for chromosomal imbalances, and also to find and clean the genetic data of the embryos to make predictions about the phenotypic predispositions of each embryo.

Another example could be a situation where a pregnant woman has amniocentesis, and the genetic material in the fetal cells in the blood sample are used, along with the methods described herein to screen for aneuploidy and other chromosomal abnormalities.

Miscellaneous Notes

It is important to note that the method described herein concerns the cleaning of genetic data, and as all living creatures contain genetic data, the methods are equally applicable to any human, animal, or plant that inherits chromosomes from parents. The list of animals and plants could include, but is not limited to: gorillas, chimpanzees, bonobos, cats, dogs, pandas, horses, cows, sheep, goats, pigs, cheetahs, tigers, lions, salmon, sharks, whales, camels, bison, manatees, elk, swordfish, dolphins, armadillos, wasps, cockroaches, worms, condors, eagles, sparrows, butterflies, sequoia, corn, wheat, rice, petunias, cow's vetch, sun flowers, ragweed, oak trees, chestnut trees, and head lice.

The measurement of genetic data is not a perfect process, especially when the sample of genetic material is small. The measurements often contain incorrect measurements, unclear measurements, spurious measurements, and missing measurements. The purpose of the method described herein is to detect and correct some or all of these errors. Using this method can improve the confidence with which the genetic data is known to a great extent. For example, using current techniques, uncleaned measured genetic data from DNA amplified from a single cell may contain between 20% and 50% unmeasured regions, or allele dropouts. In some cases the genetic data could contain between 1% and 99% unmeasured regions, or allel dropouts. In addition, the confidence of a given measured SNP is subject to errors as well.

In a case where the uncleaned data has an allele dropout rate of approximately 50%, it is expected that after applying the method disclosed herein the cleaned data will have correct allele calls in at least 90% of the cases, and under ideal circumstances, this could rise to 99% or even higher. In a case where the uncleaned data has an allele dropout rate of approximately 80%, it is expected that after applying the method disclosed herein the cleaned data will have correct allele calls in at least 95% of the cases, and under ideal circumstances, this could rise to 99.9% or even higher. In a case where the uncleaned data has an allele dropout rate of approximately 90%, it is expected that after applying the method disclosed herein the cleaned data will have correct allele calls in at least 99% of the cases, and under ideal circumstances, this could rise to 99.99% or even higher. In cases where a particular SNP measurement is made with a confidence rate close to 90%, the cleaned data is expected to have SNP calls with confidence rate of over 95%, and in ideal cases, over 99%, or even higher. In cases where a particular SNP measurement is made with a confidence rate close to 99%, the cleaned data is expected to have SNP calls with confidence rate of over 99.9%, and in ideal cases, over 99.99%, or even higher.

It is also important to note that the embryonic genetic data that can be generated by measuring the amplified DNA from one blastomere can be used for multiple purposes. For example, it can be used for detecting aneuploides, uniparental disomy, sexing the individual, as well as for making a plurality of phenotypic predictions. Currently, in IVF laboratories, due to the techniques used, it is often the case that one blastomere can only provide enough genetic material to test for one disorder, such as aneuploidy, or a particular monogenic disease. Since the method disclosed herein has the common first step of measuring a large set of SNPs from a blastomere, regardless of the type of prediction to be made, a physician or parent is not forced to choose a limited number of disorders for which to screen. Instead, the option exists to screen for as many genes and/or phenotypes as the state of medical knowledge will allow. With the disclosed method, the only advantage to identifying particular conditions to screen for prior to genotyping the blastomere is that if it is decided that certain PSNPs are especially relevant, then a more appropriate set of NSNPs which are more likely to cosegregate with the PSNPs of interest, can be selected, thus increasing the confidence of the allele calls of interest. Note that even in the case where SNPs are not personalized ahead of time, the confidences are expected to be more than adequate for the various purposes described herein.

DEFINITIONS

-   SNP (Single Nucleotide Polymorphism): A specific locus on a     chromosome that tends to show inter-individual variation. -   To call a SNP: to interrogate the identity of a particular base     pair, taking into account the direct and indirect evidence. -   To call an allele: to call a SNP. -   To clean genetic data: to take imperfect genetic data and correct     some or all of the errors, using genetic data of related individuals     and the method describe herein. -   Imperfect genetic data: genetic data with any of the following:     allele dropouts, unclear base pair measurements, incorrect base pair     measurements, spurious signals, or missing measurements. -   Confidence: the statistical likelihood that the called SNP, allele,     or set of alleles correctly represents the real genetic state of the     individual. -   Multigenic: affected by multiple genes, or alleles. -   Noisy genetic data: incomplete genetic data, also called incomplete     genetic data.; -   Uncleaned genetic data: genetic data as measured, that is, with no     method has been used to correct for the presence of noise in the raw     genetic data; also called crude genetic data. -   Direct relation: mother, father, son, or daughter. -   Chromosomal Region: a segment of a chromosome, or a full chromosome. -   Parental Support: a name sometimes used for the disclosed method of     cleaning genetic data. -   Section of a chromosome: a section of a chromosome that can range in     size from one base pair to the entire chromosome. -   Section: a section of a chromosome. 

1. A method for determining genetic data of a target individual based on the imperfect knowledge of the target individual's genetic data, and knowledge of the genetic data of one or more individuals genetically related to the target, the method comprising: (i) creating a set of one or more hypotheses concerning which segments of which chromosomes from the related individual(s) correspond to those segments found in the target individual's genome, (ii) determining the probability of each of the hypotheses given the measurements of the target individual's genetic data and of the related individual's genetic data, and (iii) using the probabilities associated with each hypothesis to determine the most likely state of the actual genetic material of the target individual.
 2. The method of claim 1, wherein the method involves determining which regions of the parental chromosomes have the maximum likelihood of having contributed to the formation of the gametes that contributed to the target individual, based on the measurements of genetic data of the target, and determination of the likelihood of those particular measurements given the genetic data of the parents.
 3. The method of claim 1, where the haplotypes of at least one of the parents have been determined by using genetic data measured from the parent's diploid sample, and the genetic data measured from a haploid sample from the parent which is used to determine which alleles measured from the diploid sample belong to which haplotype.
 4. The method of claim 1, wherein the genetic data from genetically related individual(s) is(are) taken from a group comprising genetic data from a diploid maternal sample, a haploid maternal sample, a diploid paternal sample, and a haploid paternal sample.
 5. The method of claim 1, wherein a confidence is computed for each of the individual SNP calls in the cleaned embryonic genetic data.
 6. The method of claim 1, wherein the genetic data from the genetically related individual(s) is(are) taken from a group comprising genetic data from diploid maternal cells, diploid paternal cells, haploid paternal cells, diploid cells from the maternal grandfather, and haploid cells from the maternal grandfather.
 7. The method of claim 1, wherein the genetic data from the genetically related individual(s) is(are) taken from a group comprising genetic data from diploid maternal cells, diploid paternal cells, and diploid cells from a related individual known to be a carrier of the phenotype in question.
 8. The method of claim 1, wherein the genetically related individual(s) is/are taken from a group consisting of the father, mother, son, daughter, brother, sister, half-brother, half-sister, embryo, fetus, grandfather, grandmother, uncle, aunt, nephew, niece, grandson, granddaughter, cousin, clone, other individuals with known genetic relationship to the target, and combinations thereof.
 9. The method of claim 1, where the target individual is taken from a group consisting of an adult human, a juvenile human, a human fetus, a human embryo, a non-human adult, a non-human juvenile, a non-human fetus, and a non-human embryo.
 10. The method of claim 1, where one or more of the individual's genetic data has been amplified using tools and/or techniques taken from the group comprising Polymerase Chain Reaction (PCR), Ligand mediated PCR, degenerative oligonucleotide primer PCR, Multiple Displacement Amplification, allele-specific amplification techniques, and combinations thereof.
 11. The method of claim 1, wherein one or more of the individual's genetic data has been measured using tools and or techniques taken from the group comprising Molecular Inversion Probes (MIP), Genotyping Microarrays, the Taqman SNP Genotyping Assay, the Illumina Genotyping System, other genotyping assays, fluorescent in-situ hybridization (FISH), and combinations thereof.
 12. The method of claim 1, where one or more of the individual's genetic data has been measured by analyzing substances taken from the group comprising the individual's bulk diploid tissue, one or more diploid cells taken from the individual, one or more blastocysts taken from the individual, the individual's semen, the individual's egg, extra-cellular genetic material found on the individual, extra-cellular genetic material from the individual found in maternal blood, extra-cellular genetic material from the individual found in maternal plasma, cells from the individual found in maternal blood, genetic material known to have originated from the individual, and combinations thereof.
 13. The method of claim 1, where one or more of the related individual's genetic data is partly or wholly known in silico, or is provided by parties other than those determining the target individual's genetic data.
 14. The method of claim 1, where the haploid genetic data of one or more of the individuals is partly or wholly generated in silico by means of a computer algorithm that simulates haploid data from diploid data.
 15. The method of claim 14, wherein the computer algorithm comprises a hidden Markov model.
 16. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of embryo selection in the context of in-vitro fertilization.
 17. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of prenatal genetic diagnosis.
 18. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of making predictions of phenotype susceptibility using statistical models and/or expert rules.
 19. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of making phenotypic predictions, and where the likelihood of displaying some or all of the phenotypes is affected by other previously known phenotypic information.
 20. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of making phenotypic predictions, and where the predictions are made by comparing the target's genetic data to known genetic markers found in the public domain.
 21. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of making clinical decisions.
 22. The method of claim 1, wherein the determination of the target's genetic data is used, in combination with phenotypic markers, for the purpose of making clinical decisions.
 23. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of screening for susceptibility to one or more diseases, where no family history of the disease(s) is(are) present.
 24. The method of claim 1, wherein the determination of the target's genetic data is used for the purpose of screening for susceptibility to one or more phenotypes, where some or all of the phenotypes are multigenic.
 25. The method of claim 1, wherein the knowledge of the target's genetic data is known to or suspected to contain spurious data from contaminating DNA or RNA.
 26. The method of claim 1, wherein the genetic data of one or more of the individuals includes the allele calls for a plurality of SNPs and the confidence with which each SNP is known.
 27. The method of claim 1, wherein the confidence in the SNP calls of the target individual is determined by computing the odds ratio of the probabilities that the SNP is correctly versus incorrectly called.
 28. A system configured to accomplish the method of claim
 1. 29. A computer-implemented system configured to accomplish the method of claim
 1. 30. A method wherein the measurement of multiple loci on a given segment of a given chromosome of a target individual is used to determine the number of instances of the given segment in the genome of the target individual, the method comprising: (i) creating a set of one or more hypotheses about the number of instances of the given segment present in the genome of the target individual, (ii) measuring the amount of genetic data for some or all of the possible alleles at a plurality of loci on the given segment, (iii) determining the relative probability of each of the hypotheses given the measurements of the target individual's genetic data and possibly also the related individual's genetic data, and (iv) using the relative probabilities associated with each hypothesis to determine the most likely state of the actual genetic material of the target individual.
 31. The method of claim 30 where the determination of the number of instances of segments of chromosomes that are present in the target's genome is done in the context of screening for a chromosomal abnormality, that abnormality taken from a list comprising monosomy, uniparental disomy, trisomy, other aneuploidies, unbalanced translocation, and combinations thereof.
 32. The method of claim 30 where the determination of the relative probability of each hypothesis is made using the concept of matched filtering.
 33. The method of claim 30 where the determination of the relative probability of each hypothesis is made using quantitative techniques that do not make allele calls and where the mean and standard deviation for the measurement of each locus is either known, unknown, or uniform.
 34. The method of claim 30 where the determination of the relative probability of each hypothesis is made using qualitative techniques that make use of allele calls.
 35. The method of claim 30 where the determination of the relative probability of each hypothesis is made by making use of known alleles of reference sequences, and quantitative allele measurements.
 36. The method of claim 30, where the target individual is taken from a group consisting of an adult human, a juvenile human, a human fetus, a human embryo, a non-human adult, a non-human juvenile, a non-human fetus, and a non-human embryo.
 37. The method of claim 30, wherein the target individual's genetic data has been amplified using tools and or techniques taken from the group comprising Polymerase Chain Reaction (PCR), Ligand mediated PCR, degenerative oligonucleotide primer PCR, Multiple Displacement Amplification, allele-specific amplification and combinations thereof.
 38. The method of claim 30, wherein the target individual's genetic data has been measured using tools and or techniques taken from the group comprising Molecular Inversion Probes (MIP), Genotyping Microarrays, the Taqman SNP Genotyping Assay, the Illumina Genotyping System, other genotyping assays, fluorescent in-situ hybridization (FISH), and combinations thereof.
 39. The method of claim 30, wherein the target individual's genetic data has been measured by analyzing substances taken from the group comprising the target individual's bulk diploid tissue, one or more diploid cells taken from the target individual, one or more blastocysts taken from the target individual, extra-cellular genetic material found on the target individual, extra-cellular genetic material from the target individual found in maternal blood, cells from the target individual found in maternal blood, genetic material known to have originated from the target individual, and combinations thereof.
 40. The method of claim 30, wherein the determination of the number of chromosomes or chromosome segments in the target is used for the purpose of embryo selection in the context of in-vitro fertilization.
 41. The method of claim 30, wherein the determination of the number of chromosomes or chromosome segments of the target is used for the purpose of prenatal genetic diagnosis.
 42. A system configured to accomplish the method of claim
 30. 43. A computer-implemented system configured to accomplish the method of claim
 30. 44. A method for determining the genetic data of a target individual, and also the number of instances of chromosomes or segments of chromosomes that are present in the target's genome, based on the imperfect knowledge of the target individual's genetic data, and knowledge of the genetic data of one or more individuals genetically related to the target, the method comprising: (i) creating a set of one or more hypotheses about which segments of which chromosomes from the related individual(s) correspond to those segments found in the target individual's genome, (ii) creating a set of one or more hypotheses about the number of a given chromosomal segment present in the genome of the target, (iii) measuring the amount of genetic data for each of the possible alleles at a plurality of loci on the given segment, (iv) determining the relative probability of each of the hypotheses given the measurements of the target individual's genetic data and of the related individual's genetic data, and (v) using the relative probabilities associated with each hypothesis to determine the most likely state of the actual genetic material of the target individual. 